I've read through #38 and got excited to check and see what it would take to add support for Pydantic 2.
The first issue I encountered was that openapi-schema-pydantic only supports Pydantic 1, and hasn't been actively developed for a while. openapi-pydantic is a fork of openapi-schema-pydantic that has been updated with support for both Pydantic 1 and 2, and seems to be more actively maintained.
I might be jumping the gun here, so if this is not the way that you've planned to tackle Pydantic2 support, feel free to close this PR.
I've read through #38 and got excited to check and see what it would take to add support for Pydantic 2.
The first issue I encountered was that
openapi-schema-pydantic
only supports Pydantic 1, and hasn't been actively developed for a while. openapi-pydantic is a fork of openapi-schema-pydantic that has been updated with support for both Pydantic 1 and 2, and seems to be more actively maintained.I might be jumping the gun here, so if this is not the way that you've planned to tackle Pydantic2 support, feel free to close this PR.