From 2359da802beab2bd809ee3646839b22080b8d454 Mon Sep 17 00:00:00 2001
From: Niel Drummond <niel@drummond.lu>
Date: Mon, 30 May 2022 16:36:49 +0100
Subject: [PATCH] docs: api: adjust ContainerWaitResponse error as optional

Signed-off-by: Niel Drummond <niel@drummond.lu>
---
 docs/api/v1.39.yaml | 2 +-
 docs/api/v1.40.yaml | 2 +-
 docs/api/v1.41.yaml | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/api/v1.39.yaml b/docs/api/v1.39.yaml
index a97b85cc57..d36f4055e4 100644
--- a/docs/api/v1.39.yaml
+++ b/docs/api/v1.39.yaml
@@ -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"
diff --git a/docs/api/v1.40.yaml b/docs/api/v1.40.yaml
index 41979a5500..d04d4756a7 100644
--- a/docs/api/v1.40.yaml
+++ b/docs/api/v1.40.yaml
@@ -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"
diff --git a/docs/api/v1.41.yaml b/docs/api/v1.41.yaml
index 2a65508eea..e5653eed5a 100644
--- a/docs/api/v1.41.yaml
+++ b/docs/api/v1.41.yaml
@@ -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"