Update the route version define location (#485)

* Update the route version define location

* fix lint
This commit is contained in:
Wu Clan
2025-01-10 14:00:26 +08:00
committed by GitHub
parent 8b159536ce
commit e0606d115c
5 changed files with 11 additions and 9 deletions

View File

@ -43,9 +43,9 @@ class Settings(BaseSettings):
FASTAPI_TITLE: str = 'FastAPI'
FASTAPI_VERSION: str = '0.0.1'
FASTAPI_DESCRIPTION: str = 'FastAPI Best Architecture'
FASTAPI_DOCS_URL: str | None = f'{FASTAPI_API_V1_PATH}/docs'
FASTAPI_REDOCS_URL: str | None = f'{FASTAPI_API_V1_PATH}/redocs'
FASTAPI_OPENAPI_URL: str | None = f'{FASTAPI_API_V1_PATH}/openapi'
FASTAPI_DOCS_URL: str | None = '/docs'
FASTAPI_REDOCS_URL: str | None = '/redocs'
FASTAPI_OPENAPI_URL: str | None = '/openapi'
FASTAPI_STATIC_FILES: bool = True
# Database