docs: api: adjust ContainerWaitResponse error as optional

Signed-off-by: Niel Drummond <niel@drummond.lu>
(cherry picked from commit 2359da802b)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Niel Drummond 2022-05-30 16:36:49 +01:00 committed by Sebastiaan van Stijn
parent 3e9e79d134
commit 23c7d84b84
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
3 changed files with 3 additions and 3 deletions

View File

@ -4347,7 +4347,7 @@ definitions:
type: "object"
x-go-name: "ContainerWaitOKBody"
title: "ContainerWaitResponse"
required: [StatusCode, Error]
required: [StatusCode]
properties:
StatusCode:
description: "Exit code of the container"

View File

@ -4472,7 +4472,7 @@ definitions:
type: "object"
x-go-name: "ContainerWaitOKBody"
title: "ContainerWaitResponse"
required: [StatusCode, Error]
required: [StatusCode]
properties:
StatusCode:
description: "Exit code of the container"

View File

@ -4638,7 +4638,7 @@ definitions:
type: "object"
x-go-name: "ContainerWaitOKBody"
title: "ContainerWaitResponse"
required: [StatusCode, Error]
required: [StatusCode]
properties:
StatusCode:
description: "Exit code of the container"