12 Commits (Kludex-patch-1)

Author SHA1 Message Date
Sebastián Ramírez bc935e08b6
⬆️ Upgrade compatibility with Pydantic v2.4, new renamed functions and JSON Schema input/output models with default values (#10344) 2 years ago
Sebastián Ramírez 7a06de2bb9
♻️ Refactor tests for new Pydantic 2.2.1 (#10115) 2 years ago
Sebastián Ramírez 19a2c3bb54
Enable Pydantic's serialization mode for responses, add support for Pydantic's `computed_field`, better OpenAPI for response models, proper required attributes, better generated clients (#10011) 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 2 years ago
Sebastián Ramírez 7dad5a820b
Add support for OpenAPI 3.1.0 (#9770) 2 years ago
Sebastián Ramírez f00f0de9ca
Refactor 2 tests, for consistency and simplification (#9504) 2 years ago
Sebastián Ramírez 50c1a928fb
Refactor OpenAPI tests, prepare for Pydantic v2 (#9503) 2 years ago
Nadav Zingerman 375513f114
Add support for PEP-593 `Annotated` for specifying dependencies and parameters (#4871) 2 years ago
Yasser Tahiri 99deead7fc
✏ Update Pydantic GitHub URLs (#5952) 2 years ago
dconathan c449ae5c74
🐛 Fix JSON Schema for `ValidationError` at field `loc` (#3810) 3 years ago
Eric Jolibois b0cd4d7e7e
🐛 Fix JSON Schema for dataclasses, supporting the fixes in Pydantic 1.9 (#4272) 3 years ago
Sebastián Ramírez 684c0077cc
Add support for `dataclasses` in request bodies and `response_model` (#3577) 4 years ago