File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ class Settings(BaseSettings):
44
44
FASTAPI_VERSION : str = '0.0.1'
45
45
FASTAPI_DESCRIPTION : str = 'FastAPI Best Architecture'
46
46
FASTAPI_DOCS_URL : str | None = '/docs'
47
- FASTAPI_REDOCS_URL : str | None = '/redocs '
47
+ FASTAPI_REDOC_URL : str | None = '/redoc '
48
48
FASTAPI_OPENAPI_URL : str | None = '/openapi'
49
49
FASTAPI_STATIC_FILES : bool = True
50
50
@@ -148,7 +148,7 @@ class Settings(BaseSettings):
148
148
OPERA_LOG_PATH_EXCLUDE : list [str ] = [
149
149
'/favicon.ico' ,
150
150
FASTAPI_DOCS_URL ,
151
- FASTAPI_REDOCS_URL ,
151
+ FASTAPI_REDOC_URL ,
152
152
FASTAPI_OPENAPI_URL ,
153
153
f'{ FASTAPI_API_V1_PATH } /auth/login/swagger' ,
154
154
f'{ FASTAPI_API_V1_PATH } /oauth2/github/callback' ,
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def register_app():
57
57
version = settings .FASTAPI_VERSION ,
58
58
description = settings .FASTAPI_DESCRIPTION ,
59
59
docs_url = settings .FASTAPI_DOCS_URL ,
60
- redoc_url = settings .FASTAPI_REDOCS_URL ,
60
+ redoc_url = settings .FASTAPI_REDOC_URL ,
61
61
openapi_url = settings .FASTAPI_OPENAPI_URL ,
62
62
default_response_class = MsgSpecJSONResponse ,
63
63
lifespan = register_init ,
You can’t perform that action at this time.
0 commit comments