We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61cd205 commit 566a160Copy full SHA for 566a160
backend/app/factory.py
@@ -18,7 +18,13 @@ def create_app(settings=None) -> FastAPI:
18
settings = get_settings()
19
20
# Create FastAPI instance
21
- app = FastAPI(title=settings.api_title, version=settings.api_version)
+ app = FastAPI(
22
+ title=settings.api_title,
23
+ version=settings.api_version,
24
+ docs_url="/api/docs",
25
+ redoc_url="/api/redoc",
26
+ openapi_url="/api/openapi.json"
27
+ )
28
29
# Store dependencies in app state
30
app.state.settings = settings
0 commit comments