Fix PortBindings definition in Swagger
| ... | ... |
@@ -607,17 +607,7 @@ definitions: |
| 607 | 607 |
description: "Network mode to use for this container. Supported standard values are: `bridge`, `host`, `none`, and `container:<name|id>`. Any other value is taken |
| 608 | 608 |
as a custom network's name to which this container should connect to." |
| 609 | 609 |
PortBindings: |
| 610 |
- type: "object" |
|
| 611 |
- description: "A map of exposed container ports and the host port they should map to." |
|
| 612 |
- additionalProperties: |
|
| 613 |
- type: "object" |
|
| 614 |
- properties: |
|
| 615 |
- HostIp: |
|
| 616 |
- type: "string" |
|
| 617 |
- description: "The host IP address" |
|
| 618 |
- HostPort: |
|
| 619 |
- type: "string" |
|
| 620 |
- description: "The host port number, as a string" |
|
| 610 |
+ $ref: "#/definitions/PortMap" |
|
| 621 | 611 |
RestartPolicy: |
| 622 | 612 |
$ref: "#/definitions/RestartPolicy" |
| 623 | 613 |
AutoRemove: |