-
-
Notifications
You must be signed in to change notification settings - Fork 643
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
Support Python codegen for the OpenAPI backend #21316
Merged
+1,188
−25
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e0dd5dd
Copy openapi java stuff
grihabor 14a9762
Implement python codegen
grihabor 4343919
Change package structure
grihabor f5a3caa
Implement package_mapper
grihabor 22d4f6a
One test works
grihabor 581a51c
Some tests works
grihabor dc0a03a
Tests pass
grihabor b9973a3
pants fix
grihabor 4d6eb01
Fix mypy
grihabor b854cc1
pants fix
grihabor 5899574
Add notes
grihabor 12730a0
Set 2024
grihabor 6006a84
Use itertools.product
grihabor 4e9904e
Update notes
grihabor ee0a9bc
Update year
grihabor cc480a7
Revert notes
grihabor 350d3fd
Merge branch 'main' into openapi-python
grihabor 47228fe
Add a test for python-fastapi generator
grihabor e25726d
Add test_openapi_generator_name_validation
grihabor 3e882ed
Add notes
grihabor 2ec8ea2
Merge branch 'main' into openapi-python
alonsodomin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Tests pass
- Loading branch information
commit dc0a03af74cf5d9056fc341248979127f9a79c9a
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
since we are giving freedom to the end user to choose the generator, may be worth having an additional test in which the generator being used is
python-pydantic-v1
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.
Added a test for
python-fastapi