Browse Source
📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md` (#12624)
pull/12688/head
Rabin Lama Dong
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
3 deletions
-
docs/en/docs/how-to/conditional-openapi.md
|
|
@ -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"`. |
|
|
|
|
|
|
|