Skip to content

Commit

Permalink
Merge pull request moby#30832 from allencloud/update-swaggeryml-on-cl…
Browse files Browse the repository at this point in the history
…uster-status-code

remove 400 and 404 for get nodes endpoint and add 503 for secret update
  • Loading branch information
vdemeester committed Feb 15, 2017
2 parents 3dc8771 + 5692a7b commit e8b92f1
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6836,14 +6836,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:
Expand Down Expand Up @@ -7938,6 +7930,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"
Expand Down

0 comments on commit e8b92f1

Please sign in to comment.