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:
parent
07dc3aa685
commit
13e0b26510
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue