Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Content (0.17 sec)

  1. docs/em/docs/advanced/path-operation-advanced-configuration.md

                    "operationId": "read_items_items__get",
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {
                                "application/json": {
                                    "schema": {}
                                }
                            }
                        }
                    },
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Ensuite, nous utilisons directement la requête et extrayons son contenu en tant qu'octets. Cela signifie que FastAPI n'essaiera même pas d'analyser le payload de la requête en tant que JSON.
    
    Et nous analysons directement ce contenu YAML, puis nous utilisons à nouveau le même modèle Pydantic pour valider le contenu YAML :
    
    ```Python hl_lines="26-33"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/path-operation-advanced-configuration.md

    Then we use the request directly, and extract the body as `bytes`. This means that FastAPI won't even try to parse the request payload as JSON.
    
    And then in our code, we parse that YAML content directly, and then we are again using the same Pydantic model to validate the YAML content:
    
    === "Pydantic v2"
    
        ```Python hl_lines="26-33"
        {!> ../../../docs_src/path_operation_advanced_configuration/tutorial007.py!}
        ```
    
    === "Pydantic v1"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/path-operation-advanced-configuration.md

                    "operationId": "read_items_items__get",
                    "responses": {
                        "200": {
                            "description": "Successful Response",
                            "content": {
                                "application/json": {
                                    "schema": {}
                                }
                            }
                        }
                    },
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:23 GMT 2024
    - 8.5K bytes
    - Viewed (0)
Back to top