api: rename container.ContainerCreateCreatedBody to container.CreateResponse
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
ff197417fa
commit
3bb2d0026b
3 changed files with 9 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue