swagger-api / swagger-api/swagger-codegen
[python] Suggestion: use requests lib in python clients
Open
Nobody has claimed this yet.
Client: Python
General: Suggestion
help wanted
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I think a lot of boilerplate code could be removed from the python codegen if we used the requests lib.
Moreover, bringing oauth2 support would be easy with requests-oauthlib
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by reviewing the Python codegen templates and current HTTP and OAuth handling, then read the linked requests and requests-oauthlib documentation; done would require a concrete, tested plan for reducing boilerplate and adding OAuth2 support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100