File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ class Settings(BaseSettings):
43
43
FASTAPI_TITLE : str = 'FastAPI'
44
44
FASTAPI_VERSION : str = '0.0.1'
45
45
FASTAPI_DESCRIPTION : str = 'FastAPI Best Architecture'
46
- FASTAPI_DOCS_URL : str | None = '/docs'
47
- FASTAPI_REDOC_URL : str | None = '/redoc'
46
+ FASTAPI_DOCS_URL : str = '/docs'
47
+ FASTAPI_REDOC_URL : str = '/redoc'
48
48
FASTAPI_OPENAPI_URL : str | None = '/openapi'
49
49
FASTAPI_STATIC_FILES : bool = True
50
50
@@ -185,7 +185,7 @@ class Settings(BaseSettings):
185
185
@classmethod
186
186
def check_env (cls , values : Any ) -> Any :
187
187
if values ['ENVIRONMENT' ] == 'pro' :
188
- values ['OPENAPI_URL ' ] = None
188
+ values ['FASTAPI_OPENAPI_URL ' ] = None
189
189
values ['FASTAPI_STATIC_FILES' ] = False
190
190
return values
191
191
You can’t perform that action at this time.
0 commit comments