瀏覽代碼

docs: api: adjust ContainerWaitResponse error as optional

Signed-off-by: Niel Drummond <niel@drummond.lu>
Niel Drummond 3 年之前
父節點
當前提交
2359da802b
共有 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

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