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