11 lines
341 B
TOML
11 lines
341 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"]
|