Node.js based forum software built for the modern web
test: add missing 401 responses
Barış Soner Uşaklı42cf04435414
diff --git a/public/openapi/write/users/uid/tokens.yaml b/public/openapi/write/users/uid/tokens.yamlindex 49b7e39185..98a252657c 100644--- a/public/openapi/write/users/uid/tokens.yaml+++ b/public/openapi/write/users/uid/tokens.yaml@@ -22,4 +22,6 @@ post:status:$ref: ../../../components/schemas/Status.yaml#/Statusresponse:- type: object\ No newline at end of file+ type: object+ '401':+ $ref: ../../../components/responses/401.yaml#/401\ No newline at end of filediff --git a/public/openapi/write/users/uid/tokens/token.yaml b/public/openapi/write/users/uid/tokens/token.yamlindex ef17a8e752..e6390aaf64 100644--- a/public/openapi/write/users/uid/tokens/token.yaml+++ b/public/openapi/write/users/uid/tokens/token.yaml@@ -28,4 +28,6 @@ delete:status:$ref: ../../../../components/schemas/Status.yaml#/Statusresponse:- type: object\ No newline at end of file+ type: object+ '401':+ $ref: ../../../../components/responses/401.yaml#/401