Currently the API spec would allow `"443/tcp": [null]`, but what should
be allowed is `"443/tcp": null`
Signed-off-by: Dominic Tubach <dominic.tubach@to.com>
| ... | ... |
@@ -1154,6 +1154,7 @@ definitions: |
| 1154 | 1154 |
type: "object" |
| 1155 | 1155 |
additionalProperties: |
| 1156 | 1156 |
type: "array" |
| 1157 |
+ x-nullable: true |
|
| 1157 | 1158 |
items: |
| 1158 | 1159 |
$ref: "#/definitions/PortBinding" |
| 1159 | 1160 |
example: |
| ... | ... |
@@ -1178,7 +1179,6 @@ definitions: |
| 1178 | 1178 |
PortBinding represents a binding between a host IP address and a host |
| 1179 | 1179 |
port. |
| 1180 | 1180 |
type: "object" |
| 1181 |
- x-nullable: true |
|
| 1182 | 1181 |
properties: |
| 1183 | 1182 |
HostIp: |
| 1184 | 1183 |
description: "Host IP address that the container's port is mapped to." |