Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Hare (0.39 sec)

  1. docs/en/docs/advanced/additional-responses.md

    ## Additional Response with `model`
    
    You can pass to your *path operation decorators* a parameter `responses`.
    
    It receives a `dict`, the keys are status codes for each response, like `200`, and the values are other `dict`s with the information for each of them.
    
    Each of those response `dict`s can have a key `model`, containing a Pydantic model, just like `response_model`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top