浏览代码

docs: api: synchronise versioned API docs (v1.42)

synchronises some fixes between these API versions for the documentation,
including fixes from:

- 18f85467e7d6da952deaca4661ce2778496c8498
- 345346d7c6e26c0c94e4feedc52648b5bb730844

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 2 年之前
父节点
当前提交
92cbd1c69e
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      docs/api/v1.42.yaml

+ 5 - 0
docs/api/v1.42.yaml

@@ -1122,6 +1122,7 @@ definitions:
               remapping option is enabled.
           ShmSize:
             type: "integer"
+            format: "int64"
             description: |
               Size of `/dev/shm` in bytes. If omitted, the system uses 64MB.
             minimum: 0
@@ -8727,6 +8728,10 @@ paths:
               IdentityToken: "9cbaf023786cd7..."
         204:
           description: "No error"
+        401:
+          description: "Auth error"
+          schema:
+            $ref: "#/definitions/ErrorResponse"
         500:
           description: "Server error"
           schema: