浏览代码

docs: add 401 to possible status codes of /auth

Signed-off-by: Hsing-Yu (David) Chen <davidhsingyuchen@gmail.com>
Hsing-Yu (David) Chen 2 年之前
父节点
当前提交
18f85467e7
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      api/swagger.yaml

+ 4 - 0
api/swagger.yaml

@@ -8726,6 +8726,10 @@ paths:
               IdentityToken: "9cbaf023786cd7..."
               IdentityToken: "9cbaf023786cd7..."
         204:
         204:
           description: "No error"
           description: "No error"
+        401:
+          description: "Auth error"
+          schema:
+            $ref: "#/definitions/ErrorResponse"
         500:
         500:
           description: "Server error"
           description: "Server error"
           schema:
           schema: