diff --git a/public/openapi.yml b/public/openapi.yml index 0f544ae..5be2706 100644 --- a/public/openapi.yml +++ b/public/openapi.yml @@ -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