fix: change jwt to session

This commit is contained in:
b1ek 2024-08-29 18:21:59 +10:00
parent 9bc8c6bf60
commit 7ee2254bb5
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 9 additions and 9 deletions

View File

@ -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