1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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" type: "object"
x-go-name: "ContainerWaitOKBody" x-go-name: "ContainerWaitOKBody"
title: "ContainerWaitResponse" title: "ContainerWaitResponse"
required: [StatusCode, Error] required: [StatusCode]
properties: properties:
StatusCode: StatusCode:
description: "Exit code of the container" description: "Exit code of the container"

View file

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

View file

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