Skip to content

Commit cab4084

Browse files
committed
update OpenAPI to indicate possible 401 error on api-key endpoints.
1 parent 4bc24e2 commit cab4084

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,8 @@ paths:
398398
email-required:
399399
value:
400400
error: "email is required"
401+
"401":
402+
$ref: "#/components/responses/UnauthorizedError"
401403
/api-key/activate:
402404
post:
403405
operationId: activateApiKey
@@ -449,6 +451,8 @@ paths:
449451
email-required:
450452
value:
451453
error: "email is required"
454+
"401":
455+
$ref: "#/components/responses/UnauthorizedError"
452456
404:
453457
description: Not Found
454458
content:
@@ -533,6 +537,8 @@ paths:
533537
api-key-required:
534538
value:
535539
error: "apiKeyValue is required"
540+
"401":
541+
$ref: "#/components/responses/UnauthorizedError"
536542
404:
537543
description: Not Found
538544
content:

0 commit comments

Comments
 (0)