]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏️ Fix typo in `openapi-callbacks.md` (#10673)
authorKay Jan <kayjanw@gmail.com>
Tue, 9 Jan 2024 16:21:54 +0000 (00:21 +0800)
committerGitHub <noreply@github.com>
Tue, 9 Jan 2024 16:21:54 +0000 (17:21 +0100)
docs/en/docs/advanced/openapi-callbacks.md

index 37339eae575cf9f7fb4baca0e01e8b3e22fe5490..03429b187fe55a48f1d85596f90ae9160890843f 100644 (file)
@@ -38,7 +38,7 @@ This part is pretty normal, most of the code is probably already familiar to you
 !!! tip
     The `callback_url` query parameter uses a Pydantic <a href="https://pydantic-docs.helpmanual.io/usage/types/#urls" class="external-link" target="_blank">URL</a> type.
 
-The only new thing is the `callbacks=messages_callback_router.routes` as an argument to the *path operation decorator*. We'll see what that is next.
+The only new thing is the `callbacks=invoices_callback_router.routes` as an argument to the *path operation decorator*. We'll see what that is next.
 
 ## Documenting the callback