Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 103 for AnyOf (0.02 seconds)

  1. tests/test_put_no_body.py

                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_nested_models/test_tutorial009.py

                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial002_py310.py hl[7,13:14,17:18,21:22] *}
    
    ## `Union` или `anyOf` { #union-or-anyof }
    
    Вы можете объявить HTTP-ответ как `Union` из двух или более типов. Это означает, что HTTP-ответ может быть любым из них.
    
    Он будет определён в OpenAPI как `anyOf`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial002_py310.py hl[7,13:14,17:18,21:22] *}
    
    ## `Union` ou `anyOf` { #union-or-anyof }
    
    Você pode declarar uma resposta como o `Union` de dois ou mais tipos, o que significa que a resposta seria qualquer um deles.
    
    Isso será definido no OpenAPI com `anyOf`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial002_py310.py hl[7,13:14,17:18,21:22] *}
    
    ## `Union` o `anyOf` { #union-or-anyof }
    
    Puedes declarar un response que sea la `Union` de dos o más tipos, eso significa que el response sería cualquiera de ellos.
    
    Se definirá en OpenAPI con `anyOf`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. docs/de/docs/tutorial/extra-models.md

    ## `Union` oder `anyOf` { #union-or-anyof }
    
    Sie können deklarieren, dass eine <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> eine <abbr title="Union – Verbund, Einheit, Vereinigung: Eines von Mehreren">`Union`</abbr> mehrerer Typen ist, das bedeutet, dass die Response einer von ihnen ist.
    
    Dies wird in OpenAPI mit `anyOf` definiert.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  7. docs/ko/docs/tutorial/extra-models.md

    {* ../../docs_src/extra_models/tutorial002_py310.py hl[7,13:14,17:18,21:22] *}
    
    ## `Union` 또는 `anyOf` { #union-or-anyof }
    
    두 가지 이상의 타입을 포함하는 `Union`으로 응답을 선언할 수 있습니다. 이는 응답이 그 중 하나의 타입일 수 있음을 의미합니다.
    
    OpenAPI에서는 이를 `anyOf`로 정의합니다.
    
    이를 위해 표준 Python 타입 힌트인 [`typing.Union`](https://docs.python.org/3/library/typing.html#typing.Union)을 사용할 수 있습니다:
    
    /// note
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 8K bytes
    - Click Count (0)
  8. tests/test_get_request_body.py

                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  9. tests/test_repeated_dependency_schema.py

                                "input": {"title": "Input"},
                                "loc": {
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                    "title": "Location",
                                    "type": "array",
                                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. tests/test_enforce_once_required_parameter.py

                                "input": {"title": "Input"},
                                "loc": {
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                    "title": "Location",
                                    "type": "array",
                                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top