]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update includes for `docs/en/docs/how-to/conditional-openapi.md` (#12624)
authorRabin Lama Dong <rrabin.lama.dong@gmail.com>
Mon, 28 Oct 2024 11:21:54 +0000 (15:21 +0400)
committerGitHub <noreply@github.com>
Mon, 28 Oct 2024 11:21:54 +0000 (11:21 +0000)
docs/en/docs/how-to/conditional-openapi.md

index 6cd0385a2a2fe3b5e992294d248a259278dae2bb..bd6cad9a89ca87916cbc54814cd17ed4595405a4 100644 (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"`.