mirror of https://github.com/tiangolo/fastapi.git
📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md` (#12624)
This commit is contained in:
parent
38bb9f934b
commit
ec9976f7a6
|
|
@ -29,9 +29,7 @@ You can easily use the same Pydantic settings to configure your generated OpenAP
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```Python hl_lines="6 11"
|
{* ../../docs_src/conditional_openapi/tutorial001.py hl[6,11] *}
|
||||||
{!../../docs_src/conditional_openapi/tutorial001.py!}
|
|
||||||
```
|
|
||||||
|
|
||||||
Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
|
Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue