Closed pederhan closed 11 months ago
Rewrites the code generation functionality and migrates all models to use Pydantic V2.
All code generation files are now located in the codegen directory. The following new Hatch scripts have been added:
codegen
generate-main
generate-scanner
generate
The existing Justfile has been deleted as a result of migrating these scripts to Hatch.
Justfile
Models have been changed to use Pydantic V2, which includes changes to validators and aliases. Changes are documented in the changelog.
Rewrites the code generation functionality and migrates all models to use Pydantic V2.
Code Generation
All code generation files are now located in the
codegen
directory. The following new Hatch scripts have been added:generate-main
: Generate main API modelsgenerate-scanner
: Generate scanner API modelsgenerate
: Generate all models (runsgenerate-main
andgenerate-scanner
)The existing
Justfile
has been deleted as a result of migrating these scripts to Hatch.Pydantic V2
Models have been changed to use Pydantic V2, which includes changes to validators and aliases. Changes are documented in the changelog.
Other