1
0
Files
hs.hsadmin.ng/src/main/resources/api-definition/accounts/current.yaml
T

18 lines
599 B
YAML

get:
summary: Currently logged in user data.
description: Returns information about the currently logged in user.
tags:
- account
operationId: getCurrentLoginUser
responses:
"200":
description: OK
content:
'application/json':
schema:
$ref: 'account-schemas.yaml#/components/schemas/CurrentLoginUser'
"401":
$ref: 'error-responses.yaml#/components/responses/Unauthorized'
"403":
$ref: 'error-responses.yaml#/components/responses/Forbidden'