diff --git a/api/swagger.yaml b/api/swagger.yaml index 9dac7a21e5..c1c8a1b245 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -4621,7 +4621,7 @@ definitions: description: "OK response to ContainerCreate operation" type: "object" title: "ContainerCreateResponse" - x-go-name: "ContainerCreateCreatedBody" + x-go-name: "CreateResponse" required: [Id, Warnings] properties: Id: diff --git a/api/types/container/container_create_created_body.go b/api/types/container/create_response.go similarity index 73% rename from api/types/container/container_create_created_body.go rename to api/types/container/create_response.go index 88df14a0eb..aa0e7f7d07 100644 --- a/api/types/container/container_create_created_body.go +++ b/api/types/container/create_response.go @@ -3,11 +3,11 @@ package container // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command -// ContainerCreateCreatedBody ContainerCreateResponse +// CreateResponse ContainerCreateResponse // // OK response to ContainerCreate operation -// swagger:model ContainerCreateCreatedBody -type ContainerCreateCreatedBody struct { +// swagger:model CreateResponse +type CreateResponse struct { // The ID of the created container // Required: true diff --git a/api/types/container/deprecated.go b/api/types/container/deprecated.go index bf6e0ba11a..0cb70e3638 100644 --- a/api/types/container/deprecated.go +++ b/api/types/container/deprecated.go @@ -1,5 +1,10 @@ package container // import "github.com/docker/docker/api/types/container" +// ContainerCreateCreatedBody OK response to ContainerCreate operation +// +// Deprecated: use CreateResponse +type ContainerCreateCreatedBody = CreateResponse + // ContainerWaitOKBody OK response to ContainerWait operation // // Deprecated: use WaitResponse