remove 400 and 404 for get nodes endpoint and add 503 for secret update
(cherry picked from commit e8b92f154d68d17a09fa62ef8cd1b72163887c58)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -6834,14 +6834,6 @@ paths: |
| 6834 | 6834 |
type: "array" |
| 6835 | 6835 |
items: |
| 6836 | 6836 |
$ref: "#/definitions/Node" |
| 6837 |
- 400: |
|
| 6838 |
- description: "bad parameter" |
|
| 6839 |
- schema: |
|
| 6840 |
- $ref: "#/definitions/ErrorResponse" |
|
| 6841 |
- 404: |
|
| 6842 |
- description: "no such node" |
|
| 6843 |
- schema: |
|
| 6844 |
- $ref: "#/definitions/ErrorResponse" |
|
| 6845 | 6837 |
500: |
| 6846 | 6838 |
description: "server error" |
| 6847 | 6839 |
schema: |
| ... | ... |
@@ -7936,6 +7928,10 @@ paths: |
| 7936 | 7936 |
description: "server error" |
| 7937 | 7937 |
schema: |
| 7938 | 7938 |
$ref: "#/definitions/ErrorResponse" |
| 7939 |
+ 503: |
|
| 7940 |
+ description: "node is not part of a swarm" |
|
| 7941 |
+ schema: |
|
| 7942 |
+ $ref: "#/definitions/ErrorResponse" |
|
| 7939 | 7943 |
parameters: |
| 7940 | 7944 |
- name: "id" |
| 7941 | 7945 |
in: "path" |