aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2022-03-05 22:00:57 +0100
committerSebastiaan van Stijn <github@gone.nl>2022-03-05 22:21:58 +0100
commit352d1bb8e0cc6329d3137000d6540351c0c02c46 (patch)
tree30c083de7c90ddbc1919d16baa7692bb9e43b546 /docs
parente4c6ca36aea01bfebe34d09c728e60ebe35a0442 (diff)
api: docs: move ContainerWaitResponse to definitions (v1.39-v1.41)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'docs')
-rw-r--r--docs/api/v1.39.yaml40
-rw-r--r--docs/api/v1.40.yaml40
-rw-r--r--docs/api/v1.41.yaml40
3 files changed, 72 insertions, 48 deletions
diff --git a/docs/api/v1.39.yaml b/docs/api/v1.39.yaml
index 8060baa30c..ee5528d974 100644
--- a/docs/api/v1.39.yaml
+++ b/docs/api/v1.39.yaml
@@ -4181,6 +4181,29 @@ definitions:
x-nullable: true
$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:
type: "object"
description: |
@@ -6718,22 +6741,7 @@ paths:
200:
description: "The container has exit."
schema:
- type: "object"
- 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"
+ $ref: "#/definitions/ContainerWaitResponse"
400:
description: "bad parameter"
schema:
diff --git a/docs/api/v1.40.yaml b/docs/api/v1.40.yaml
index 81c7080ce3..418a5f5597 100644
--- a/docs/api/v1.40.yaml
+++ b/docs/api/v1.40.yaml
@@ -4306,6 +4306,29 @@ definitions:
x-nullable: true
$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:
type: "object"
description: |
@@ -7024,22 +7047,7 @@ paths:
200:
description: "The container has exit."
schema:
- type: "object"
- 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"
+ $ref: "#/definitions/ContainerWaitResponse"
400:
description: "bad parameter"
schema:
diff --git a/docs/api/v1.41.yaml b/docs/api/v1.41.yaml
index 1ac76946a6..3a104c478f 100644
--- a/docs/api/v1.41.yaml
+++ b/docs/api/v1.41.yaml
@@ -4460,6 +4460,29 @@ definitions:
x-nullable: true
$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:
type: "object"
description: |
@@ -7193,22 +7216,7 @@ paths:
200:
description: "The container has exit."
schema:
- type: "object"
- 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"
+ $ref: "#/definitions/ContainerWaitResponse"
400:
description: "bad parameter"
schema: