add me api
This commit is contained in:
parent
4ad9287ba5
commit
e239c787ed
21
backend.yml
21
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:
|
||||
|
Loading…
Reference in New Issue
Block a user