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