feat: add MeController and endpoint for retrieving current user information

This commit is contained in:
2026-07-02 16:07:48 -03:00
parent 9a5a8e85b9
commit 0efa1650a0
4 changed files with 43 additions and 36 deletions

View File

@@ -1283,6 +1283,30 @@
}
},
"response": []
},
{
"name": "Me",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{base_url}}/api/me",
"host": [
"{{base_url}}"
],
"path": [
"api",
"me"
]
}
},
"response": []
}
]
},
@@ -1500,35 +1524,6 @@
"response": []
}
]
},
{
"name": "Protected",
"item": [
{
"name": "Current User",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"url": {
"raw": "{{base_url}}/api/user",
"host": [
"{{base_url}}"
],
"path": [
"api",
"user"
]
}
},
"response": []
}
]
}
],
"event": [