This commit is contained in:
Torma Kristóf 2020-11-28 20:42:15 +01:00
parent c92881e140
commit 86e9e10886

View File

@ -46,6 +46,8 @@ paths:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $ref: '#/components/schemas/ApiResponse'
delete: delete:
security:
- bearerAuth: []
tags: tags:
- backend - backend
summary: Logs out a user summary: Logs out a user
@ -62,6 +64,8 @@ paths:
/api/auth/me: /api/auth/me:
get: get:
security:
- bearerAuth: []
tags: tags:
- backend - backend
summary: Current user summary: Current user
@ -82,6 +86,8 @@ paths:
/api/lists: /api/lists:
get: get:
security:
- bearerAuth: []
tags: tags:
- backend - backend
summary: Gets all lists summary: Gets all lists
@ -97,6 +103,8 @@ paths:
/api/lists/{listid}: /api/lists/{listid}:
get: get:
security:
- bearerAuth: []
tags: tags:
- backend - backend
summary: Gets a single lists summary: Gets a single lists
@ -131,6 +139,8 @@ paths:
/api/items/{itemid}: /api/items/{itemid}:
get: get:
security:
- bearerAuth: []
tags: tags:
- backend - backend
summary: Gets data of an item summary: Gets data of an item
@ -152,6 +162,11 @@ paths:
$ref: '#/components/schemas/Item' $ref: '#/components/schemas/Item'
components: components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: Token
schemas: schemas:
MainList: MainList:
type: object type: object