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>
(cherry picked from commit 68b095d4df)
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 025e3a7898
commit 50c392c9ff
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: