What's Changed
- Fix extra blank line after custom file header with future imports by @koxudaxi in #2638
- Fix GraphQL enum renaming issue by @siminn-arnorgj in #2642
- Fix allOf with description generating alias instead of class (Pydantic v2) by @koxudaxi in #2643
- Fix enum default values using full path instead of short name in same module by @koxudaxi in #2644
- Fix --url option to resolve local fragment refs correctly by @koxudaxi in #2646
- Fix allOf with single $ref to preserve class inheritance by @koxudaxi in #2647
- Fix incorrect import when module and class have the same name by @koxudaxi in #2648
- Fix nullable propagation from $ref schema targets by @koxudaxi in #2649
- Add --use-frozen-field option for JSON Schema readOnly support by @koxudaxi in #2650
- Add validation error for --use-specialized-enum when target Python version < 3.11 by @koxudaxi in #2651
- Fix discriminator to use enum value instead of model name for single-value enums by @koxudaxi in #2652
New Contributors
- @siminn-arnorgj made their first contribution in #2642
Full Changelog: 0.42.2...0.43.0