add status code 400 for update endpoints in swagger.yml

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: c284e85f590bcd7027cbb8e7077896df7ff6900c
Component: engine
This commit is contained in:
allencloud
2017-04-10 15:13:56 +08:00
parent f4a661bcfe
commit 98984ecab4
+8
View File
@@ -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: