Merge pull request #30832 from allencloud/update-swaggeryml-on-cluster-status-code

remove 400 and 404 for get nodes endpoint and add 503 for secret update
(cherry picked from commit e8b92f154d)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Vincent Demeester 2017-02-15 09:45:44 +01:00 committed by Sebastiaan van Stijn
parent 4b025d0605
commit 05b81bc152
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -6834,14 +6834,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:
@ -7936,6 +7928,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"