-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Feature: Support pydantic v2 #45
Feature: Support pydantic v2 #45
Conversation
I'm not sure that |
Thank you for the feedback. I applied your comment :D GitHub's OpenAPI does not yet have a schema with |
Thanks foryour great help with this feature. I still need to investigate how to make it compatible with pydantic v1 and v2 after this pr is merged. The codegen part should be rewrited to support features including compatibility layer, lazy loading logic and api versioning. This may take a long time before release since i do not have too much free time. |
Related Issues
Description
pyproject.toml
,poetry.lock
codegen
,githubkit
)SetSchema
, becauseList
withunique_items
was deprecated, and recommended to useSet
Annotated
for pydantic modelsMissing
, but there is a need to check if the same applies toUnion
required.