diff --git a/api/swagger.yaml b/api/swagger.yaml index 2124a816b1..cf7043d336 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -155,6 +155,7 @@ definitions: IP: type: "string" format: "ip-address" + description: "Host IP address that the container's port is mapped to" PrivatePort: type: "integer" format: "uint16" diff --git a/api/types/port.go b/api/types/port.go index ad52d46d56..d91234744c 100644 --- a/api/types/port.go +++ b/api/types/port.go @@ -7,7 +7,7 @@ package types // swagger:model Port type Port struct { - // IP + // Host IP address that the container's port is mapped to IP string `json:"IP,omitempty"` // Port on the container