mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
add status code 400 for update endpoints in swagger.yml
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
9f27f0dcd3
commit
c284e85f59
1 changed files with 8 additions and 0 deletions
|
@ -7095,6 +7095,10 @@ paths:
|
|||
responses:
|
||||
200:
|
||||
description: "no error"
|
||||
400:
|
||||
description: "bad parameter"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such node"
|
||||
schema:
|
||||
|
@ -8201,6 +8205,10 @@ paths:
|
|||
responses:
|
||||
200:
|
||||
description: "no error"
|
||||
400:
|
||||
description: "bad parameter"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such secret"
|
||||
schema:
|
||||
|
|
Loading…
Reference in a new issue