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

Merge pull request #32464 from allencloud/add-status-code-400-for-update-endpoint

add status code 400 for update endpoints in swagger.yml
This commit is contained in:
Vincent Demeester 2017-04-13 10:33:04 +02:00 committed by GitHub
commit 05930120a0

View file

@ -7106,6 +7106,10 @@ paths:
responses: responses:
200: 200:
description: "no error" description: "no error"
400:
description: "bad parameter"
schema:
$ref: "#/definitions/ErrorResponse"
404: 404:
description: "no such node" description: "no such node"
schema: schema:
@ -8217,6 +8221,10 @@ paths:
responses: responses:
200: 200:
description: "no error" description: "no error"
400:
description: "bad parameter"
schema:
$ref: "#/definitions/ErrorResponse"
404: 404:
description: "no such secret" description: "no such secret"
schema: schema: