瀏覽代碼

docs: api: adjust ContainerWaitResponse error as optional

Signed-off-by: Niel Drummond <niel@drummond.lu>
(cherry picked from commit 2359da802beab2bd809ee3646839b22080b8d454)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Niel Drummond 3 年之前
父節點
當前提交
23c7d84b84
共有 3 個文件被更改,包括 3 次插入3 次删除
  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

@@ -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"

+ 1 - 1
docs/api/v1.40.yaml

@@ -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"

+ 1 - 1
docs/api/v1.41.yaml

@@ -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"