0.24.0
What's Changed
- Fix UnionIntFloat json schema generation. by @jboulmier in #1669
- Move pysnooper to optional by @koxudaxi in #1672
- use tomllib in 3.11 or later by @koxudaxi in #1674
- Change --validation option to optional by @koxudaxi in #1675
- Remove black in lint.sh and format.sh by @koxudaxi in #1676
- Resolve ref before adding references for allOf items by @pimzero in #1678
- Change master to main by @koxudaxi in #1681
- Fix error when JsonSchemaObject is bool with Pydantic v2 by @sbussard-vareto in #1691
Breaking Changes
- The version drop
pysnooper
,prance
,openapi-spec-validator
from the default dependencies list.
If you want to use--debug
and--validation
, please add the extra option when you install packagesdatamodel-code-generator[debug]
anddatamodel-code-generator[validation]
Depreacated
--validation
option will be removed in the new future. please use other tools to validate OpenAPI Schema.
New Contributors
- @jboulmier made their first contribution in #1669
- @pimzero made their first contribution in #1678
- @sbussard-vareto made their first contribution in #1691
Full Changelog: 0.23.0...0.24.0