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
1 changed files with 8 additions and 0 deletions

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: