Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Model (0.14 sec)

  1. docs/en/docs/advanced/openapi-callbacks.md

        Temporarily adopting this point of view (of the *external developer*) can help you feel like it's more obvious where to put the parameters, the Pydantic model for the body, for the response, etc. for that *external API*.
    
    ### Create a callback `APIRouter`
    
    First create a new `APIRouter` that will contain one or more callbacks.
    
    ```Python hl_lines="3  25"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top