Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for json_schema_extra (0.08 sec)

  1. docs/pt/docs/tutorial/schema-extra-example.md

    Você pode definir `"json_schema_extra"` com um `dict` contendo quaisquer dados adicionais que você queira que apareçam no JSON Schema gerado, incluindo `examples`.
    
    ////
    
    //// tab | Pydantic v1
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/schema-extra-example.md

    Puedes establecer `"json_schema_extra"` con un `dict` que contenga cualquier dato adicional que desees que aparezca en el JSON Schema generado, incluyendo `examples`.
    
    ////
    
    //// tab | Pydantic v1
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/schema-extra-example.md

    Ви можете встановити `"json_schema_extra"` як `dict`, що містить будь-які додаткові дані, які Ви хочете відобразити у згенерованій JSON-схемі, включаючи `examples`.
    
    ////
    
    //// tab | Pydantic v1
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Jun 09 19:35:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. tests/test_schema_extra_examples.py

    from pydantic import BaseModel, ConfigDict
    
    
    def create_app():
        app = FastAPI()
    
        class Item(BaseModel):
            data: str
    
            model_config = ConfigDict(
                json_schema_extra={"example": {"data": "Data in schema_extra"}}
            )
    
        @app.post("/schema_extra/")
        def schema_extra(item: Item):
            return item
    
        with pytest.warns(FastAPIDeprecationWarning):
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/schema-extra-example.md

    Pydantic 버전 2에서 <a href="https://docs.pydantic.dev/latest/usage/model_config/" class="external-link" target="_blank">Pydantic 공식 문서: Model Config</a>에 나와 있는 것처럼 `dict`를 받는 `model_config` 어트리뷰트를 사용할 것입니다.
    
    `"json_schema_extra"`를 생성된 JSON 스키마에서 보여주고 싶은 별도의 데이터와 `examples`를 포함하는 `dict`으로 설정할 수 있습니다.
    
    ////
    
    //// tab | Pydantic v1
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. fastapi/_compat/v2.py

        "title": None,
        "field_title_generator": None,
        "description": None,
        "examples": None,
        "exclude": None,
        "exclude_if": None,
        "discriminator": None,
        "deprecated": None,
        "json_schema_extra": None,
        "frozen": None,
        "validate_default": None,
        "repr": True,
        "init": None,
        "init_var": None,
        "kw_only": None,
    }
    
    
    # TODO: remove when dropping support for Pydantic < v2.12.3
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

        * `validation_alias`
        * `serialization_alias`
        * `discriminator`
        * `strict`
        * `multiple_of`
        * `allow_inf_nan`
        * `max_digits`
        * `decimal_places`
        * `json_schema_extra`
    
    ...you can read about them in the Pydantic docs.
    
    * The parameter `regex` has been deprecated and replaced by `pattern`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top