mirror of
https://github.com/koxudaxi/datamodel-code-generator.git
synced 2024-03-18 14:54:37 +03:00
* support for pyproject.toml * add unittest * remove comments * fix format * update documents
279 B
279 B
datamodel-code-generator has a lot of command-line options.
The options are supported on pyproject.toml.
Example pyproject.toml:
[tool.datamodel-codegen]
field-constraints = true
snake-case-field = true
strip-default-none = false
target-python-version = "3.7"