remove 400 and 404 for get nodes endpoint and add 503 for secret update

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 5692a7ba3ddc2664bccf08aefee5bacf266def5b
Component: engine
This commit is contained in:
allencloud
2017-02-08 23:06:09 +08:00
parent 7a04a9d5d0
commit 8c15651879
+4 -8
View File
@@ -6815,14 +6815,6 @@ paths:
type: "array"
items:
$ref: "#/definitions/Node"
400:
description: "bad parameter"
schema:
$ref: "#/definitions/ErrorResponse"
404:
description: "no such node"
schema:
$ref: "#/definitions/ErrorResponse"
500:
description: "server error"
schema:
@@ -7917,6 +7909,10 @@ paths:
description: "server error"
schema:
$ref: "#/definitions/ErrorResponse"
503:
description: "node is not part of a swarm"
schema:
$ref: "#/definitions/ErrorResponse"
parameters:
- name: "id"
in: "path"