📝 Update includes for docs/en/docs/how-to/conditional-openapi.md (#12624)

This commit is contained in:
Rabin Lama Dong
2024-10-28 15:21:54 +04:00
committed by GitHub
parent 38bb9f934b
commit ec9976f7a6

View File

@@ -29,9 +29,7 @@ You can easily use the same Pydantic settings to configure your generated OpenAP
For example:
```Python hl_lines="6 11"
{!../../docs_src/conditional_openapi/tutorial001.py!}
```
{* ../../docs_src/conditional_openapi/tutorial001.py hl[6,11] *}
Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.