need refresh for logout
This commit is contained in:
parent
797c570351
commit
a13bb75600
16
backend.yml
16
backend.yml
@ -46,6 +46,22 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponse'
|
||||
|
||||
/api/auth/refresh:
|
||||
delete:
|
||||
tags:
|
||||
- backend
|
||||
summary: Refreshes jwt token
|
||||
operationId: refreshtoken
|
||||
responses:
|
||||
204:
|
||||
description: successful operation
|
||||
401:
|
||||
description: Incorrect credentials
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponse'
|
||||
|
||||
/api/auth/logoff:
|
||||
delete:
|
||||
tags:
|
||||
|
Loading…
Reference in New Issue
Block a user