Describe IP field of Port definition

Signed-off-by: Ethan Bell <ebgamer29@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
emanb29 2018-04-29 21:14:23 -07:00 committed by Sebastiaan van Stijn
parent 07dc3aa685
commit 13e0b26510
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -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