]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
📝 Update highlights in webhooks docs (#14905)
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 12 Feb 2026 13:24:28 +0000 (05:24 -0800)
committerGitHub <noreply@github.com>
Thu, 12 Feb 2026 13:24:28 +0000 (14:24 +0100)
docs/en/docs/advanced/openapi-webhooks.md

index f4f586f84ce70c0368c6b2830533c3525a6b983c..d9b73ea4a2d6c83fe47cf7ea217a4df5c14fadec 100644 (file)
@@ -32,7 +32,7 @@ Webhooks are available in OpenAPI 3.1.0 and above, supported by FastAPI `0.99.0`
 
 When you create a **FastAPI** application, there is a `webhooks` attribute that you can use to define *webhooks*, the same way you would define *path operations*, for example with `@app.webhooks.post()`.
 
-{* ../../docs_src/openapi_webhooks/tutorial001_py310.py hl[9:13,36:53] *}
+{* ../../docs_src/openapi_webhooks/tutorial001_py310.py hl[9:12,15:20] *}
 
 The webhooks that you define will end up in the **OpenAPI** schema and the automatic **docs UI**.