openapi-schema-pydantic icon indicating copy to clipboard operation
openapi-schema-pydantic copied to clipboard

Update to Pydantic 2

Open hathawsh opened this issue 1 year ago • 4 comments

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.

hathawsh avatar Jul 03 '23 17:07 hathawsh

Hi

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

Thanks!

lordoffreaks avatar Jul 17 '23 22:07 lordoffreaks

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.

hathawsh avatar Jul 18 '23 00:07 hathawsh

Any plans to merge this and surface pydantic 2 changes?

odubno avatar Oct 10 '23 20:10 odubno

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

hathawsh avatar Oct 12 '23 18:10 hathawsh