Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for precedence (0.2 sec)

  1. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. docs/en/docs/release-notes.md

    * 👷 Add pre-commit GitHub Action workflow. PR [#4895](https://github.com/tiangolo/fastapi/pull/4895) by [@tiangolo](https://github.com/tiangolo).
    * 📝 Add dark mode auto switch to docs based on OS preference. PR [#4869](https://github.com/tiangolo/fastapi/pull/4869) by [@ComicShrimp](https://github.com/ComicShrimp).
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Apr 28 00:28:00 GMT 2024
    - 385.5K bytes
    - Viewed (1)
  4. 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 Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top