0.25.0
What's Changed
- Improve collapse_root_models for list by @koxudaxi in #1700
- Improve one of any of models creation by @koxudaxi in #1682
- Change example to examples in pydantic_v2 by @koxudaxi in #1705
- Enable --set-default-enum-member for dataclasses by @koxudaxi in #1706
- Fix --use-default of allOf by @koxudaxi in #1708
- Beta version graphql by @denisart in #1707
- Add a few tests graphql by @denisart in #1722
- Add additional imports to cli by @denisart in #1723
- Fix long description rendering in graphql by @denisart in #1730
- Add custom formatters by @denisart in #1733
- with pydantic v2, use pydantic.AwareDatetime instead of datetime by @gjcarneiro in #1735
- Support discriminators in array items by @mesfahanisimscale in #1458
- Fix default for annotated field in pydantic v2 by @i404788 in #1498
Breaking Changes
- Remove the unneeded
Item
suffix ofanyOf
andoneOf
model names by #1682- maybe change other model names by the changes
- Change
datetime.datetime
topydantic.AwareDatetime
in pydantic v2 by #1735
New Contributors
- @denisart made their first contribution in #1707
- @gjcarneiro made their first contribution in #1735
- @mesfahanisimscale made their first contribution in #1458
Full Changelog: 0.24.2...0.25.0