From be9497fbf46c479bad99e47b907acb7370f42d8b Mon Sep 17 00:00:00 2001 From: Asad Saeeduddin Date: Sat, 18 Nov 2017 22:32:56 -0500 Subject: [PATCH] Fix consumes MIME type for NetworkConnect This route expects `application/json`. Sending a content type header of `application/octet-stream` results in an error. Signed-off-by: Asad Saeeduddin Upstream-commit: 876b32861789a0424557c640622bde47eedd2d98 Component: engine --- components/engine/api/swagger.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/api/swagger.yaml b/components/engine/api/swagger.yaml index 3b532f7c19..a6b5ee5cfd 100644 --- a/components/engine/api/swagger.yaml +++ b/components/engine/api/swagger.yaml @@ -7891,7 +7891,7 @@ paths: summary: "Connect a container to a network" operationId: "NetworkConnect" consumes: - - "application/octet-stream" + - "application/json" responses: 200: description: "No error"