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

API: Move "x-nullable: true" from type PortBinding to type PortMap
This commit is contained in:
Sebastiaan van Stijn 2019-05-25 21:56:05 +02:00 committed by GitHub
commit 752d78017a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1154,6 +1154,7 @@ definitions:
type: "object"
additionalProperties:
type: "array"
x-nullable: true
items:
$ref: "#/definitions/PortBinding"
example:
@ -1178,7 +1179,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."