-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Support for pydantic2 #378
Comments
fastapi-code-generator uses datamodel-code-generator to generate pydantic models. New version of datamodel-codegen already have support for pydantic v2, so I guess #379 should fix the issue. |
@n0nvme you are right, but this package uses the fixed version of datamodel datamodel-code-generator = {extras = ["http"], version = "0.16.1"} |
V2 was introduced in v0.21.0 |
Any plans for this..? |
I cannot use
Are there any plans to prioritize this soon? |
Since Pydantic V2 has been finally released (https://docs.pydantic.dev/2.0/blog/pydantic-v2-final/) it would be great to add support for it.
The text was updated successfully, but these errors were encountered: