docs: api: adjust ContainerWaitResponse error as optional

Signed-off-by: Niel Drummond <niel@drummond.lu>
This commit is contained in:
Niel Drummond 2022-05-30 16:36:49 +01:00
parent 4e09933aed
commit 2359da802b
3 changed files with 3 additions and 3 deletions

View file

@ -4336,7 +4336,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

@ -4461,7 +4461,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

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