1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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 <masaeedu@gmail.com>
This commit is contained in:
Asad Saeeduddin 2017-11-18 22:32:56 -05:00
parent edc204b1ff
commit 876b328617

View file

@ -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"