- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for json_schema_extra (0.4 sec)
-
fastapi/params.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 26.3K bytes - Viewed (0) -
fastapi/param_functions.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 63K bytes - Viewed (0) -
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) -
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) -
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)