github koxudaxi/datamodel-code-generator 0.38.0

3 hours ago

What's Changed

  • Fix transitive local reference resolution in external schema files by @koxudaxi in #2577
  • Fix crash when parsing JSON Schema with internal references from stdin by @koxudaxi in #2578
  • Fix allOf with multiple refs having same property name generates broken models by @koxudaxi in #2579
  • Fix external $ref resolution in paths when components/schemas is missing by @koxudaxi in #2581
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2582
  • Fix incorrect relative import path for namespaced schemas referencing subnamespaces by @koxudaxi in #2580
  • Add --generate-cli-command option to generate CLI command from pyproject.toml by @koxudaxi in #2583
  • Add --check option for CI verification of generated files by @koxudaxi in #2585
  • Add --use-all-exports option to generate __all__ in __init__.py by @koxudaxi in #2586
  • Fix empty array items to generate List[Any] instead of bare List by @koxudaxi in #2584

Full Changelog: 0.37.0...0.38.0

Don't miss a new datamodel-code-generator release

NewReleases is sending notifications on new releases.