Browse Source

Merge pull request #44599 from davidhsingyuchen/doc-auth

docs: add 401 to possible status codes of /auth
Sebastiaan van Stijn 2 years ago
parent
commit
9275a771bf
1 changed files with 4 additions and 0 deletions
  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: