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

add status code 400 for update endpoints in swagger.yml
Upstream-commit: 05930120a0dadd6bca293464b511623d39231f95
Component: engine
This commit is contained in:
Vincent Demeester
2017-04-13 10:33:04 +02:00
committed by GitHub
+8
View File
@@ -7106,6 +7106,10 @@ paths:
responses:
200:
description: "no error"
400:
description: "bad parameter"
schema:
$ref: "#/definitions/ErrorResponse"
404:
description: "no such node"
schema:
@@ -8217,6 +8221,10 @@ paths:
responses:
200:
description: "no error"
400:
description: "bad parameter"
schema:
$ref: "#/definitions/ErrorResponse"
404:
description: "no such secret"
schema: