From b8e8e5cba756111b243b955e534768d5bf7b2e61 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 19 Oct 2020 18:42:27 +1030 Subject: [PATCH] Fix status code 204 must not have a response body. --- gns3server/endpoints/controller/links.py | 1 - 1 file changed, 1 deletion(-) diff --git a/gns3server/endpoints/controller/links.py b/gns3server/endpoints/controller/links.py index 5c6bd97a..46f313be 100644 --- a/gns3server/endpoints/controller/links.py +++ b/gns3server/endpoints/controller/links.py @@ -149,7 +149,6 @@ async def start_capture(capture_data: dict, link: Link = Depends(dep_link)): @router.post("/{link_id}/stop_capture", status_code=status.HTTP_204_NO_CONTENT, - response_model=schemas.Link, responses=responses) async def stop_capture(link: Link = Depends(dep_link)): """