We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The current implementation isn't type-exhaustive
pydantic -> zod
pydantic -> intermediate -> zod
Convert from pydantic --> some spec --> zod.
Pydantic -> OpenAPI
Model.model_json_schema()
OpenAPI -> Zod
The text was updated successfully, but these errors were encountered:
daryllimyt
No branches or pull requests
Motivation
The current implementation isn't type-exhaustive
Benefits
pydantic -> zod
, decoupling into an intermediate step topydantic -> intermediate -> zod
unlocks a lot of use cases:Possible solutions
Using a common language agnostic spec
Convert from pydantic --> some spec --> zod.
Options
Model.model_json_schema()
is OAS compliantThere exists well supported lib: https://docs.pydantic.dev/latest/integrations/datamodel_code_generator/(this is for OpenAPI -> pydantic)The text was updated successfully, but these errors were encountered: