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

Update to Pydantic 2 #33

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

hathawsh
Copy link

@hathawsh hathawsh commented Jul 3, 2023

This is a mostly-straightforward port to Pydantic 2. It takes advantage of Pydantic's new JSON schema mode feature, which can be set to "validation" or "serialization". Tests added and updated and documentation updated.

@lordoffreaks
Copy link

Hi

Great work here! ... any plans to release this in the short term?

Thanks!

@hathawsh
Copy link
Author

hathawsh commented Jul 18, 2023

I moved this work to a fork of this project. It's now being maintained:

https://pypi.org/project/openapi-pydantic/
https://github.com/mike-oakley/openapi-pydantic

That project now supports both versions of Pydantic.

@odubno
Copy link

odubno commented Oct 10, 2023

Any plans to merge this and surface pydantic 2 changes?

@hathawsh
Copy link
Author

@kuimono has not been responsive, so it's probably best for everyone to move to the newer project.

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

Successfully merging this pull request may close these issues.

None yet

3 participants