remove jwt
This commit is contained in:
parent
c83d37b218
commit
9370618408
23
backend.yml
23
backend.yml
@ -46,22 +46,6 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ApiResponse'
|
$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:
|
/api/auth/logoff:
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
@ -204,13 +188,10 @@ components:
|
|||||||
format: url
|
format: url
|
||||||
LoginToken:
|
LoginToken:
|
||||||
required:
|
required:
|
||||||
- access_token
|
- token
|
||||||
- refresh_token
|
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
access_token:
|
token:
|
||||||
type: string
|
|
||||||
refresh_token:
|
|
||||||
type: string
|
type: string
|
||||||
User:
|
User:
|
||||||
required:
|
required:
|
||||||
|
Loading…
Reference in New Issue
Block a user