Browse code

Merge pull request #39264 from dontub/fix-api-type-PortMap

API: Move "x-nullable: true" from type PortBinding to type PortMap

Sebastiaan van Stijn authored on 2019/05/26 04:56:05
Showing 1 changed files
... ...
@@ -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."