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>
(cherry picked from commit 32b5d296ea5d392c28affe2854b9d4201166bc27)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -1141,6 +1141,7 @@ definitions: |
| 1141 | 1141 |
type: "object" |
| 1142 | 1142 |
additionalProperties: |
| 1143 | 1143 |
type: "array" |
| 1144 |
+ x-nullable: true |
|
| 1144 | 1145 |
items: |
| 1145 | 1146 |
$ref: "#/definitions/PortBinding" |
| 1146 | 1147 |
example: |
| ... | ... |
@@ -1165,7 +1166,6 @@ definitions: |
| 1165 | 1165 |
PortBinding represents a binding between a host IP address and a host |
| 1166 | 1166 |
port. |
| 1167 | 1167 |
type: "object" |
| 1168 |
- x-nullable: true |
|
| 1169 | 1168 |
properties: |
| 1170 | 1169 |
HostIp: |
| 1171 | 1170 |
description: "Host IP address that the container's port is mapped to." |