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

♻️ Simplify Pydantic configs in OpenAPI models in fastapi/openapi/models.py #10886

Merged
merged 4 commits into from Apr 18, 2024

Conversation

JoeTanto2
Copy link
Contributor

Abstracted conditional class config to parent class to avoid repetitive checks.

@tiangolo tiangolo changed the title Abstracted conditional class config to parent class ♻️ Simplify Pydantic configs in OpenAPI models in fastapi/openapi/models.py Jan 13, 2024
@tiangolo
Copy link
Owner

Good idea, thanks! 🚀

@tiangolo tiangolo enabled auto-merge (squash) April 18, 2024 22:44
@tiangolo tiangolo merged commit 74cc33d into tiangolo:master Apr 18, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants