-
-
Notifications
You must be signed in to change notification settings - Fork 380
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
feat: allow customization of Pydantic integration #2404
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Existing and new tests are passing, LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be the (more) correct way to address these. Good work Mr. @cofin!
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/2404 |
Pull Request Checklist
Description
PydanticPlugin
that allows for customization of the Pydantic integration. Currently, the only feature is to let a user export a model by alias. When setting this, it applies to OpenAPI and responses.Close Issue(s)