diff --git a/apis/swagger.yml b/apis/swagger.yml index 8b1c11afd..e9bdd4025 100644 --- a/apis/swagger.yml +++ b/apis/swagger.yml @@ -2230,7 +2230,8 @@ definitions: GET "/containers/json" type: "object" properties: - ID: + Id: + description: "Container ID" type: "string" Names: type: "array" diff --git a/apis/types/container.go b/apis/types/container.go index c6f259d22..e52e66899 100644 --- a/apis/types/container.go +++ b/apis/types/container.go @@ -34,8 +34,8 @@ type Container struct { // HostConfig *HostConfig `json:"HostConfig,omitempty"` - // ID - ID string `json:"ID,omitempty"` + // Container ID + ID string `json:"Id,omitempty"` // image Image string `json:"Image,omitempty"` @@ -74,7 +74,7 @@ type Container struct { /* polymorph Container HostConfig false */ -/* polymorph Container ID false */ +/* polymorph Container Id false */ /* polymorph Container Image false */