api: docs: move ContainerWaitResponse to definitions (v1.39-v1.41)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
e4c6ca36ae
commit
352d1bb8e0
|
@ -4181,6 +4181,29 @@ definitions:
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
$ref: "#/definitions/Health"
|
$ref: "#/definitions/Health"
|
||||||
|
|
||||||
|
ContainerWaitResponse:
|
||||||
|
description: "OK response to ContainerWait operation"
|
||||||
|
type: "object"
|
||||||
|
x-go-name: "ContainerWaitOKBody"
|
||||||
|
title: "ContainerWaitResponse"
|
||||||
|
required: [StatusCode, Error]
|
||||||
|
properties:
|
||||||
|
StatusCode:
|
||||||
|
description: "Exit code of the container"
|
||||||
|
type: "integer"
|
||||||
|
x-nullable: false
|
||||||
|
Error:
|
||||||
|
$ref: "#/definitions/ContainerWaitExitError"
|
||||||
|
|
||||||
|
ContainerWaitExitError:
|
||||||
|
description: "container waiting error, if any"
|
||||||
|
type: "object"
|
||||||
|
x-go-name: "ContainerWaitOKBodyError"
|
||||||
|
properties:
|
||||||
|
Message:
|
||||||
|
description: "Details of an error"
|
||||||
|
type: "string"
|
||||||
|
|
||||||
SystemVersion:
|
SystemVersion:
|
||||||
type: "object"
|
type: "object"
|
||||||
description: |
|
description: |
|
||||||
|
@ -6718,22 +6741,7 @@ paths:
|
||||||
200:
|
200:
|
||||||
description: "The container has exit."
|
description: "The container has exit."
|
||||||
schema:
|
schema:
|
||||||
type: "object"
|
$ref: "#/definitions/ContainerWaitResponse"
|
||||||
title: "ContainerWaitResponse"
|
|
||||||
description: "OK response to ContainerWait operation"
|
|
||||||
required: [StatusCode]
|
|
||||||
properties:
|
|
||||||
StatusCode:
|
|
||||||
description: "Exit code of the container"
|
|
||||||
type: "integer"
|
|
||||||
x-nullable: false
|
|
||||||
Error:
|
|
||||||
description: "container waiting error, if any"
|
|
||||||
type: "object"
|
|
||||||
properties:
|
|
||||||
Message:
|
|
||||||
description: "Details of an error"
|
|
||||||
type: "string"
|
|
||||||
400:
|
400:
|
||||||
description: "bad parameter"
|
description: "bad parameter"
|
||||||
schema:
|
schema:
|
||||||
|
|
|
@ -4306,6 +4306,29 @@ definitions:
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
$ref: "#/definitions/Health"
|
$ref: "#/definitions/Health"
|
||||||
|
|
||||||
|
ContainerWaitResponse:
|
||||||
|
description: "OK response to ContainerWait operation"
|
||||||
|
type: "object"
|
||||||
|
x-go-name: "ContainerWaitOKBody"
|
||||||
|
title: "ContainerWaitResponse"
|
||||||
|
required: [StatusCode, Error]
|
||||||
|
properties:
|
||||||
|
StatusCode:
|
||||||
|
description: "Exit code of the container"
|
||||||
|
type: "integer"
|
||||||
|
x-nullable: false
|
||||||
|
Error:
|
||||||
|
$ref: "#/definitions/ContainerWaitExitError"
|
||||||
|
|
||||||
|
ContainerWaitExitError:
|
||||||
|
description: "container waiting error, if any"
|
||||||
|
type: "object"
|
||||||
|
x-go-name: "ContainerWaitOKBodyError"
|
||||||
|
properties:
|
||||||
|
Message:
|
||||||
|
description: "Details of an error"
|
||||||
|
type: "string"
|
||||||
|
|
||||||
SystemVersion:
|
SystemVersion:
|
||||||
type: "object"
|
type: "object"
|
||||||
description: |
|
description: |
|
||||||
|
@ -7024,22 +7047,7 @@ paths:
|
||||||
200:
|
200:
|
||||||
description: "The container has exit."
|
description: "The container has exit."
|
||||||
schema:
|
schema:
|
||||||
type: "object"
|
$ref: "#/definitions/ContainerWaitResponse"
|
||||||
title: "ContainerWaitResponse"
|
|
||||||
description: "OK response to ContainerWait operation"
|
|
||||||
required: [StatusCode]
|
|
||||||
properties:
|
|
||||||
StatusCode:
|
|
||||||
description: "Exit code of the container"
|
|
||||||
type: "integer"
|
|
||||||
x-nullable: false
|
|
||||||
Error:
|
|
||||||
description: "container waiting error, if any"
|
|
||||||
type: "object"
|
|
||||||
properties:
|
|
||||||
Message:
|
|
||||||
description: "Details of an error"
|
|
||||||
type: "string"
|
|
||||||
400:
|
400:
|
||||||
description: "bad parameter"
|
description: "bad parameter"
|
||||||
schema:
|
schema:
|
||||||
|
|
|
@ -4460,6 +4460,29 @@ definitions:
|
||||||
x-nullable: true
|
x-nullable: true
|
||||||
$ref: "#/definitions/Health"
|
$ref: "#/definitions/Health"
|
||||||
|
|
||||||
|
ContainerWaitResponse:
|
||||||
|
description: "OK response to ContainerWait operation"
|
||||||
|
type: "object"
|
||||||
|
x-go-name: "ContainerWaitOKBody"
|
||||||
|
title: "ContainerWaitResponse"
|
||||||
|
required: [StatusCode, Error]
|
||||||
|
properties:
|
||||||
|
StatusCode:
|
||||||
|
description: "Exit code of the container"
|
||||||
|
type: "integer"
|
||||||
|
x-nullable: false
|
||||||
|
Error:
|
||||||
|
$ref: "#/definitions/ContainerWaitExitError"
|
||||||
|
|
||||||
|
ContainerWaitExitError:
|
||||||
|
description: "container waiting error, if any"
|
||||||
|
type: "object"
|
||||||
|
x-go-name: "ContainerWaitOKBodyError"
|
||||||
|
properties:
|
||||||
|
Message:
|
||||||
|
description: "Details of an error"
|
||||||
|
type: "string"
|
||||||
|
|
||||||
SystemVersion:
|
SystemVersion:
|
||||||
type: "object"
|
type: "object"
|
||||||
description: |
|
description: |
|
||||||
|
@ -7193,22 +7216,7 @@ paths:
|
||||||
200:
|
200:
|
||||||
description: "The container has exit."
|
description: "The container has exit."
|
||||||
schema:
|
schema:
|
||||||
type: "object"
|
$ref: "#/definitions/ContainerWaitResponse"
|
||||||
title: "ContainerWaitResponse"
|
|
||||||
description: "OK response to ContainerWait operation"
|
|
||||||
required: [StatusCode]
|
|
||||||
properties:
|
|
||||||
StatusCode:
|
|
||||||
description: "Exit code of the container"
|
|
||||||
type: "integer"
|
|
||||||
x-nullable: false
|
|
||||||
Error:
|
|
||||||
description: "container waiting error, if any"
|
|
||||||
type: "object"
|
|
||||||
properties:
|
|
||||||
Message:
|
|
||||||
description: "Details of an error"
|
|
||||||
type: "string"
|
|
||||||
400:
|
400:
|
||||||
description: "bad parameter"
|
description: "bad parameter"
|
||||||
schema:
|
schema:
|
||||||
|
|
Loading…
Reference in New Issue