Kaynağa Gözat

docs: api: adjust ContainerWaitResponse error as optional

Signed-off-by: Niel Drummond <niel@drummond.lu>
Niel Drummond 3 yıl önce
ebeveyn
işleme
2359da802b
3 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 1 1
      docs/api/v1.39.yaml
  2. 1 1
      docs/api/v1.40.yaml
  3. 1 1
      docs/api/v1.41.yaml

+ 1 - 1
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"

+ 1 - 1
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"

+ 1 - 1
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"