Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate auto-generated models from JSON Schema #50

Open
kylebarron opened this issue Feb 10, 2021 · 2 comments
Open

Evaluate auto-generated models from JSON Schema #50

kylebarron opened this issue Feb 10, 2021 · 2 comments

Comments

@kylebarron
Copy link
Contributor

https://github.com/koxudaxi/datamodel-code-generator/ is a project to generate Pydantic models from JSON schema sources. It might be a good idea to evaluate whether this project is mature enough to auto-generate Pydantic models from source STAC JSON schema. This would minimize manual errors and make it easy to support new spec versions in the future.

@geospatial-jeff
Copy link
Collaborator

This would minimize manual errors and make it easy to support new spec versions in the future.

And also support older versions of the spec! Will definitely do this.

@kylebarron
Copy link
Contributor Author

I wasn't sure whether supporting older versions of the spec would be a plus or minus 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants