Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.
2.44k
stars
281
forks
source link
When generating pydantic with jsonData, an error occurred: "Invalid file format" #1993
Open
zhao004 opened 4 weeks ago
Describe the bug When generating pydantic with jsonData, an error occurred: "Invalid file format"
To Reproduce
Example schema:
Used commandline:
Expected behavior Invalid file format
Version:
Additional context