Added /api/me endpoint

This commit is contained in:
Vito0912 2024-07-30 17:37:22 +02:00
parent 9b3cb4ed33
commit b0d85a8dd9
3 changed files with 16 additions and 1 deletions

View file

@ -1,2 +1,15 @@
paths:
/api/me:
get:
operationId: getMe
summary: Get the current user.
description: Get the current user.
tags:
- Me
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '../objects/entities/User.yaml#/components/schemas/user'