Skip to content

feat: Use httpx.request to allow bodies for all type of requests #547

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

Merged
merged 8 commits into from
Jan 9, 2022

Conversation

MalteBecker
Copy link
Contributor

As described in #545 i changed every httpx call to use httpx.request instead of httpx.get/post/put/etc.

@dbanty
Copy link
Collaborator

dbanty commented Dec 18, 2021

Thanks @MalteBecker, this looks great! did you test out a generated client with this against a real web server? Just in case there are any peculiarities with httpx.request vs the individual methods.

@codecov
Copy link

codecov bot commented Dec 18, 2021

Codecov Report

Merging #547 (2177b17) into main (19dd9d8) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #547   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           48        48           
  Lines         1661      1661           
=========================================
  Hits          1661      1661           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 19dd9d8...2177b17. Read the comment docs.

@MalteBecker
Copy link
Contributor Author

MalteBecker commented Dec 20, 2021

@dbanty I tested it with a few of our web APIs at it worked pretty fine.

dbanty
dbanty previously approved these changes Jan 7, 2022
@dbanty dbanty added this to the 0.11.0 milestone Jan 7, 2022
@dbanty dbanty enabled auto-merge (squash) January 7, 2022 20:53
@dbanty dbanty disabled auto-merge January 9, 2022 00:45
@dbanty dbanty merged commit b45d56c into openapi-generators:main Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants