api: rename container.ContainerCreateCreatedBody to container.CreateResponse

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2022-03-05 23:55:51 +01:00
parent ff197417fa
commit 3bb2d0026b
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
3 changed files with 9 additions and 4 deletions

View File

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

View File

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

View File

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