fix: change jwt to session
This commit is contained in:
parent
9bc8c6bf60
commit
7ee2254bb5
|
@ -7,7 +7,7 @@ tags:
|
|||
- name: Private routes
|
||||
description: Accessible only to authenticated users
|
||||
paths:
|
||||
/api/users/reg:
|
||||
/api/users/register:
|
||||
put:
|
||||
description: Create new user
|
||||
tags:
|
||||
|
@ -111,7 +111,7 @@ paths:
|
|||
tags:
|
||||
- Private routes
|
||||
security:
|
||||
- jwt: []
|
||||
- session: []
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
|
@ -132,7 +132,7 @@ paths:
|
|||
tags:
|
||||
- Private routes
|
||||
security:
|
||||
- jwt: []
|
||||
- session: []
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
|
@ -155,7 +155,7 @@ paths:
|
|||
tags:
|
||||
- Private routes
|
||||
security:
|
||||
- jwt: []
|
||||
- session: []
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
|
@ -182,7 +182,7 @@ paths:
|
|||
tags:
|
||||
- Private routes
|
||||
security:
|
||||
- jwt: []
|
||||
- session: []
|
||||
parameters:
|
||||
- name: ids
|
||||
in: query
|
||||
|
@ -207,7 +207,7 @@ paths:
|
|||
tags:
|
||||
- Private routes
|
||||
security:
|
||||
- jwt: []
|
||||
- session: []
|
||||
parameters:
|
||||
- name: ids
|
||||
in: query
|
||||
|
@ -236,7 +236,7 @@ paths:
|
|||
tags:
|
||||
- Private routes
|
||||
security:
|
||||
- jwt: []
|
||||
- session: []
|
||||
parameters:
|
||||
- name: ids
|
||||
in: query
|
||||
|
@ -261,7 +261,7 @@ paths:
|
|||
tags:
|
||||
- Private routes
|
||||
security:
|
||||
- jwt: []
|
||||
- session: []
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
|
@ -313,6 +313,6 @@ components:
|
|||
type: string
|
||||
example: 'argon2-hash-here'
|
||||
securitySchemes:
|
||||
jwt:
|
||||
session:
|
||||
type: http
|
||||
scheme: bearer
|
||||
|
|
Loading…
Reference in New Issue