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):
4343 FASTAPI_TITLE : str = 'FastAPI'
4444 FASTAPI_VERSION : str = '0.0.1'
4545 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'
4848 FASTAPI_OPENAPI_URL : str | None = '/openapi'
4949 FASTAPI_STATIC_FILES : bool = True
5050
@@ -185,7 +185,7 @@ class Settings(BaseSettings):
185185 @classmethod
186186 def check_env (cls , values : Any ) -> Any :
187187 if values ['ENVIRONMENT' ] == 'pro' :
188- values ['OPENAPI_URL ' ] = None
188+ values ['FASTAPI_OPENAPI_URL ' ] = None
189189 values ['FASTAPI_STATIC_FILES' ] = False
190190 return values
191191
You can’t perform that action at this time.
0 commit comments