OpenAPITools / OpenAPITools/openapi-generator

Follow redirect for python clients

Open
#19,372 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Hi! As I understand it was mentioned here too. So, as I see you don't allow to pass **kwargs custom parameters from developer-users in class RESTClientObject to urllib3 that is used in it. I think, this is really not good. For example, I don't have opportunity to follow redirects. This is critical for my app.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the generated Python client's RESTClientObject class and inspect how it calls urllib3. Determine how client-provided request options could reach urllib3, then verify that redirect behavior can be configured for Python clients without breaking existing requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.