From: Rabin Lama Dong Date: Mon, 28 Oct 2024 11:21:54 +0000 (+0400) Subject: 📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md` (#12624) X-Git-Tag: 0.115.5~218 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ec9976f7a6bb27b11e68ce2e44fb64acaaed5bbb;p=thirdparty%2Ffastapi%2Ffastapi.git 📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md` (#12624) --- diff --git a/docs/en/docs/how-to/conditional-openapi.md b/docs/en/docs/how-to/conditional-openapi.md index 6cd0385a2a..bd6cad9a89 100644 --- a/docs/en/docs/how-to/conditional-openapi.md +++ b/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"`.