mirror of
https://git.dirksys.ovh/dirk/bankserver.git
synced 2025-12-20 11:09:21 +01:00
document response codes of login endpoint
This commit is contained in:
parent
8be45b2ca6
commit
cc5117ff74
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user