Describe the bug
Option '--url' behaves differently from '--input' with same input file
To Reproduce
datamodel-codegen --input .CVE_JSON_5.0_bundled.json --input-file-type jsonschema \
--output output.py --output-model-type pydantic_v2.BaseModel
works, while
datamodel-codegen --url https://raw.githubusercontent.com/CVEProject/cve-schema/master/schema/v5.0/docs/CVE_JSON_5.0_bundled.json --input-file-type jsonschema \
--output output.py --output-model-type pydantic_v2.BaseModel
does not.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too