Is your feature request related to a problem?
Admin-only endpoints (e.g., /users, /tokens) currently appear in the default OpenAPI schema and Swagger UI for all authenticated users. While route-level authorization prevents access, exposing these endpoints in public docs creates unnecessary visibility and potential confusion.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
This change affects documentation visibility only and does not modify endpoint authorization behavior.
Is your feature request related to a problem?
Admin-only endpoints (e.g.,
/users,/tokens) currently appear in the default OpenAPI schema and Swagger UI for all authenticated users. While route-level authorization prevents access, exposing these endpoints in public docs creates unnecessary visibility and potential confusion.Describe the solution you'd like
tags=["admin"])docs_urlandopenapi_url/openapi.jsongenerationadmin-tagged endpoints (e.g.,/users,/tokens) for non-admin users/docsbehind authenticationDescribe alternatives you've considered
include_in_schema=False(too static; hides endpoints for admins as well)Additional context
This change affects documentation visibility only and does not modify endpoint authorization behavior.