Files

13 lines
387 B
TOML

[tool.datamodel-codegen]
input = "../../api/ml/openapi.bundle.yml"
input-file-type = "openapi"
output = "../src/lincodex_ml/api/models.py"
output-model-type = "pydantic_v2.BaseModel"
target-python-version = "3.14"
openapi-scopes = ["schemas"]
enum-field-as-literal = "all"
disable-timestamp = true
formatters = ["ruff-check", "ruff-format"]
field-constraints = true
use-annotated = true