datamodel-code-generator
datamodel-code-generator copied to clipboard
Support for XML Schema to Pydantic Models
Would it be possible to support .xsd files to data models?
It hasn't been trivial converting xsd to json schema in order to import into pydantic, so a native xsd parser would be very much appreciated!
Thank you for creating the issue.
I needed to find out the details of the .xsd
.
However, we can implement parsers like JSON schema, OpenAPI, and GraphQL.
https://github.com/koxudaxi/datamodel-code-generator/tree/main/datamodel_code_generator/parser