Browse Source

fix: add disable example for scalar docs url

pull/10674/head
marclave 1 year ago
committed by Marc Laventure
parent
commit
176398cb48
  1. 2
      fastapi/applications.py

2
fastapi/applications.py

@ -416,7 +416,7 @@ class FastAPI(Starlette):
```python
from fastapi import FastAPI
app = FastAPI(docs_url="/documentation", redoc_url=None)
app = FastAPI(docs_url="/documentation", redoc_url=None, scalar_url=None)
```
"""
),

Loading…
Cancel
Save