Fix ContainerSummary swagger docs
Signed-off-by: Tobias Gesellchen <tobias@gesellix.de> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0e719f8a00
commit
8168d1877d
|
@ -3871,73 +3871,71 @@ definitions:
|
||||||
Warning: "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
|
Warning: "unable to pin image doesnotexist:latest to digest: image library/doesnotexist:latest not found"
|
||||||
|
|
||||||
ContainerSummary:
|
ContainerSummary:
|
||||||
type: "array"
|
type: "object"
|
||||||
items:
|
properties:
|
||||||
type: "object"
|
Id:
|
||||||
properties:
|
description: "The ID of this container"
|
||||||
Id:
|
type: "string"
|
||||||
description: "The ID of this container"
|
x-go-name: "ID"
|
||||||
|
Names:
|
||||||
|
description: "The names that this container has been given"
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
type: "string"
|
type: "string"
|
||||||
x-go-name: "ID"
|
Image:
|
||||||
Names:
|
description: "The name of the image used when creating this container"
|
||||||
description: "The names that this container has been given"
|
type: "string"
|
||||||
type: "array"
|
ImageID:
|
||||||
items:
|
description: "The ID of the image that this container was created from"
|
||||||
|
type: "string"
|
||||||
|
Command:
|
||||||
|
description: "Command to run when starting the container"
|
||||||
|
type: "string"
|
||||||
|
Created:
|
||||||
|
description: "When the container was created"
|
||||||
|
type: "integer"
|
||||||
|
format: "int64"
|
||||||
|
Ports:
|
||||||
|
description: "The ports exposed by this container"
|
||||||
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/definitions/Port"
|
||||||
|
SizeRw:
|
||||||
|
description: "The size of files that have been created or changed by this container"
|
||||||
|
type: "integer"
|
||||||
|
format: "int64"
|
||||||
|
SizeRootFs:
|
||||||
|
description: "The total size of all the files in this container"
|
||||||
|
type: "integer"
|
||||||
|
format: "int64"
|
||||||
|
Labels:
|
||||||
|
description: "User-defined key/value metadata."
|
||||||
|
type: "object"
|
||||||
|
additionalProperties:
|
||||||
|
type: "string"
|
||||||
|
State:
|
||||||
|
description: "The state of this container (e.g. `Exited`)"
|
||||||
|
type: "string"
|
||||||
|
Status:
|
||||||
|
description: "Additional human-readable status of this container (e.g. `Exit 0`)"
|
||||||
|
type: "string"
|
||||||
|
HostConfig:
|
||||||
|
type: "object"
|
||||||
|
properties:
|
||||||
|
NetworkMode:
|
||||||
type: "string"
|
type: "string"
|
||||||
Image:
|
NetworkSettings:
|
||||||
description: "The name of the image used when creating this container"
|
description: "A summary of the container's network settings"
|
||||||
type: "string"
|
type: "object"
|
||||||
ImageID:
|
properties:
|
||||||
description: "The ID of the image that this container was created from"
|
Networks:
|
||||||
type: "string"
|
type: "object"
|
||||||
Command:
|
additionalProperties:
|
||||||
description: "Command to run when starting the container"
|
$ref: "#/definitions/EndpointSettings"
|
||||||
type: "string"
|
Mounts:
|
||||||
Created:
|
type: "array"
|
||||||
description: "When the container was created"
|
items:
|
||||||
type: "integer"
|
$ref: "#/definitions/Mount"
|
||||||
format: "int64"
|
|
||||||
Ports:
|
|
||||||
description: "The ports exposed by this container"
|
|
||||||
type: "array"
|
|
||||||
items:
|
|
||||||
$ref: "#/definitions/Port"
|
|
||||||
SizeRw:
|
|
||||||
description: "The size of files that have been created or changed by this container"
|
|
||||||
type: "integer"
|
|
||||||
format: "int64"
|
|
||||||
SizeRootFs:
|
|
||||||
description: "The total size of all the files in this container"
|
|
||||||
type: "integer"
|
|
||||||
format: "int64"
|
|
||||||
Labels:
|
|
||||||
description: "User-defined key/value metadata."
|
|
||||||
type: "object"
|
|
||||||
additionalProperties:
|
|
||||||
type: "string"
|
|
||||||
State:
|
|
||||||
description: "The state of this container (e.g. `Exited`)"
|
|
||||||
type: "string"
|
|
||||||
Status:
|
|
||||||
description: "Additional human-readable status of this container (e.g. `Exit 0`)"
|
|
||||||
type: "string"
|
|
||||||
HostConfig:
|
|
||||||
type: "object"
|
|
||||||
properties:
|
|
||||||
NetworkMode:
|
|
||||||
type: "string"
|
|
||||||
NetworkSettings:
|
|
||||||
description: "A summary of the container's network settings"
|
|
||||||
type: "object"
|
|
||||||
properties:
|
|
||||||
Networks:
|
|
||||||
type: "object"
|
|
||||||
additionalProperties:
|
|
||||||
$ref: "#/definitions/EndpointSettings"
|
|
||||||
Mounts:
|
|
||||||
type: "array"
|
|
||||||
items:
|
|
||||||
$ref: "#/definitions/Mount"
|
|
||||||
|
|
||||||
Driver:
|
Driver:
|
||||||
description: "Driver represents a driver (network, logging, secrets)."
|
description: "Driver represents a driver (network, logging, secrets)."
|
||||||
|
@ -5105,7 +5103,9 @@ paths:
|
||||||
200:
|
200:
|
||||||
description: "no error"
|
description: "no error"
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/definitions/ContainerSummary"
|
type: "array"
|
||||||
|
items:
|
||||||
|
$ref: "#/definitions/ContainerSummary"
|
||||||
examples:
|
examples:
|
||||||
application/json:
|
application/json:
|
||||||
- Id: "8dfafdbc3a40"
|
- Id: "8dfafdbc3a40"
|
||||||
|
|
Loading…
Reference in New Issue