Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for re (0.13 sec)

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

    ```Python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    
    You can use that technique to re-use some predefined responses in your *path operations* and combine them with additional custom ones.
    
    For example:
    
    ```Python hl_lines="13-17  26"
    {!../../../docs_src/additional_responses/tutorial004.py!}
    ```
    
    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