Merge pull request #241 from thaJeztah/19.03_swagger_fixes
[19.03 backport] swagger fixes
This commit is contained in:
commit
57a9697161
1 changed files with 5 additions and 3 deletions
|
@ -1141,6 +1141,7 @@ definitions:
|
|||
type: "object"
|
||||
additionalProperties:
|
||||
type: "array"
|
||||
x-nullable: true
|
||||
items:
|
||||
$ref: "#/definitions/PortBinding"
|
||||
example:
|
||||
|
@ -1165,7 +1166,6 @@ definitions:
|
|||
PortBinding represents a binding between a host IP address and a host
|
||||
port.
|
||||
type: "object"
|
||||
x-nullable: true
|
||||
properties:
|
||||
HostIp:
|
||||
description: "Host IP address that the container's port is mapped to."
|
||||
|
@ -5462,7 +5462,7 @@ paths:
|
|||
/containers/{id}/resize:
|
||||
post:
|
||||
summary: "Resize a container TTY"
|
||||
description: "Resize the TTY for a container. You must restart the container for the resize to take effect."
|
||||
description: "Resize the TTY for a container."
|
||||
operationId: "ContainerResize"
|
||||
consumes:
|
||||
- "application/octet-stream"
|
||||
|
@ -9106,7 +9106,9 @@ paths:
|
|||
type: "string"
|
||||
RemoteAddrs:
|
||||
description: "Addresses of manager nodes already participating in the swarm."
|
||||
type: "string"
|
||||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
JoinToken:
|
||||
description: "Secret token for joining this swarm."
|
||||
type: "string"
|
||||
|
|
Loading…
Add table
Reference in a new issue