1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

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."