API: fix 404 status description on container create

This updates the current swagger file, and all docs versions
with the same fix as ff1d9a3ec5

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2021-07-03 21:30:47 +02:00
parent 2b5427b853
commit 68b095d4df
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
24 changed files with 41 additions and 41 deletions

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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: