add me api

This commit is contained in:
Torma Kristóf 2020-12-06 02:43:36 +01:00
parent 4ad9287ba5
commit e239c787ed

View File

@ -131,6 +131,27 @@ paths:
schema: schema:
$ref: '#/components/schemas/ApiResponse' $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: /api/auth/signup:
post: post: