Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for precedence (0.15 sec)

  1. docs/it/docs/index.md

        * Modelli del database.
        * ...e molto di più.
    * Generazione di una documentazione dell'API interattiva, con scelta dell'interfaccia grafica:
        * Swagger UI.
        * ReDoc.
    
    ---
    
    Tornando al precedente esempio, **FastAPI**:
    
    * Validerà che esiste un `item_id` nel percorso delle richieste `GET` e `PUT`.
    * Validerà che `item_id` sia di tipo `int` per le richieste `GET` e `PUT`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/schema-extra-example.md

    And then the new OpenAPI 3.1.0 was based on the latest version (JSON Schema 2020-12) that included this new field `examples`.
    
    And now this new `examples` field takes precedence over the old single (and custom) `example` field, that is now deprecated.
    
    This new `examples` field in JSON Schema is **just a `list`** of examples, not a dict with extra metadata as in the other places in OpenAPI (described above).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. fastapi/openapi/utils.py

                        for param in parameters
                        if param.get("required")
                    }
                    # Make sure required definitions of the same parameter take precedence
                    # over non-required definitions
                    all_parameters.update(required_parameters)
                    operation["parameters"] = list(all_parameters.values())
                if method in METHODS_WITH_BODY:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
Back to top