Merge pull request #42596 from thaJeztah/sync_swagger_fix
API: fix 404 status description on container create
This commit is contained in:
commit
c858e496f6
24 changed files with 41 additions and 41 deletions
|
@ -5583,12 +5583,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -317,7 +317,7 @@ Create a container
|
|||
|
||||
- **201** – no error
|
||||
- **400** – bad parameter
|
||||
- **404** – no such container
|
||||
- **404** – no such image
|
||||
- **406** – impossible to attach (container not running)
|
||||
- **409** – conflict
|
||||
- **500** – server error
|
||||
|
|
|
@ -327,7 +327,7 @@ Create a container
|
|||
|
||||
- **201** – no error
|
||||
- **400** – bad parameter
|
||||
- **404** – no such container
|
||||
- **404** – no such image
|
||||
- **406** – impossible to attach (container not running)
|
||||
- **409** – conflict
|
||||
- **500** – server error
|
||||
|
|
|
@ -331,7 +331,7 @@ Create a container
|
|||
|
||||
- **201** – no error
|
||||
- **400** – bad parameter
|
||||
- **404** – no such container
|
||||
- **404** – no such image
|
||||
- **406** – impossible to attach (container not running)
|
||||
- **409** – conflict
|
||||
- **500** – server error
|
||||
|
|
|
@ -352,7 +352,7 @@ Create a container
|
|||
|
||||
- **201** – no error
|
||||
- **400** – bad parameter
|
||||
- **404** – no such container
|
||||
- **404** – no such image
|
||||
- **406** – impossible to attach (container not running)
|
||||
- **409** – conflict
|
||||
- **500** – server error
|
||||
|
|
|
@ -467,7 +467,7 @@ Create a container
|
|||
|
||||
- **201** – no error
|
||||
- **400** – bad parameter
|
||||
- **404** – no such container
|
||||
- **404** – no such image
|
||||
- **406** – impossible to attach (container not running)
|
||||
- **409** – conflict
|
||||
- **500** – server error
|
||||
|
|
|
@ -493,7 +493,7 @@ Create a container
|
|||
|
||||
- **201** – no error
|
||||
- **400** – bad parameter
|
||||
- **404** – no such container
|
||||
- **404** – no such image
|
||||
- **406** – impossible to attach (container not running)
|
||||
- **409** – conflict
|
||||
- **500** – server error
|
||||
|
|
|
@ -535,7 +535,7 @@ Create a container
|
|||
|
||||
- **201** – no error
|
||||
- **400** – bad parameter
|
||||
- **404** – no such container
|
||||
- **404** – no such image
|
||||
- **406** – impossible to attach (container not running)
|
||||
- **409** – conflict
|
||||
- **500** – server error
|
||||
|
|
|
@ -2786,12 +2786,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
406:
|
||||
description: "impossible to attach"
|
||||
schema:
|
||||
|
|
|
@ -2791,12 +2791,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
406:
|
||||
description: "impossible to attach"
|
||||
schema:
|
||||
|
|
|
@ -2851,12 +2851,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
406:
|
||||
description: "impossible to attach"
|
||||
schema:
|
||||
|
|
|
@ -2941,12 +2941,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
406:
|
||||
description: "impossible to attach"
|
||||
schema:
|
||||
|
|
|
@ -2975,12 +2975,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
406:
|
||||
description: "impossible to attach"
|
||||
schema:
|
||||
|
|
|
@ -3181,12 +3181,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
406:
|
||||
description: "impossible to attach"
|
||||
schema:
|
||||
|
|
|
@ -3251,12 +3251,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
406:
|
||||
description: "impossible to attach"
|
||||
schema:
|
||||
|
|
|
@ -4494,12 +4494,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -4499,12 +4499,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -4528,12 +4528,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -4510,12 +4510,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -4525,12 +4525,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -4545,12 +4545,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -4599,12 +4599,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -5294,12 +5294,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
|
@ -5425,12 +5425,12 @@ paths:
|
|||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
404:
|
||||
description: "no such container"
|
||||
description: "no such image"
|
||||
schema:
|
||||
$ref: "#/definitions/ErrorResponse"
|
||||
examples:
|
||||
application/json:
|
||||
message: "No such container: c2ada9df5af8"
|
||||
message: "No such image: c2ada9df5af8"
|
||||
409:
|
||||
description: "conflict"
|
||||
schema:
|
||||
|
|
Loading…
Reference in a new issue