docs: user module

In-line and Swagger docs improvements on the User module and endpoints
This commit is contained in:
Chris Milne 2026-05-20 15:23:40 +01:00
parent 6871fcd75d
commit 83a24a91f4
3 changed files with 105 additions and 34 deletions

View file

@ -26,12 +26,21 @@ if settings.ENVIRONMENT.is_deployed:
pass
tags_metadata = [
{
"name": "User",
"description": "User related operations, includes getting information about the current user",
}
]
app = FastAPI(
swagger_ui_init_oauth={
"clientId": auth_settings.CLIENT_ID,
"usePkceWithAuthorizationCodeGrant": True,
"scopes": "openid profile email",
}
},
openapi_tags=tags_metadata,
)
# Type inspection disabled for middleware injection.