diff --git a/openapi-def.yaml b/openapi-def.yaml index 6ecdea9..784530a 100644 --- a/openapi-def.yaml +++ b/openapi-def.yaml @@ -27,6 +27,17 @@ paths: application/json: schema: $ref: '#/components/schemas/TokenResponse' + 403: + description: Invalid username or password + content: + application/json: + schema: + $ref: '#/components/schemas/ApiError' + example: + id: auth.invalid_credentials + message: string + 422: + $ref: '#/components/responses/InvalidBody' default: $ref: '#/components/responses/Default' /api/register: