diff --git a/backend.yml b/backend.yml index ebd0b44..8ed3a9e 100644 --- a/backend.yml +++ b/backend.yml @@ -131,6 +131,27 @@ paths: schema: $ref: '#/components/schemas/ApiResponse' + /api/auth/me: + get: + tags: + - backend + security: + - bearerAuth: [] + summary: Get current user data + operationId: getMe + responses: + 200: + description: Array of users + content: + application/json: + schema: + $ref: '#/components/schemas/UserMetadataResponse' + 404: + description: No object matching filter + content: + application/json: + schema: + $ref: '#/components/schemas/ApiResponse' /api/auth/signup: post: