Skip to content

[REQ] [Java] Make it possible to extend ApiClient completely #21250

Closed

Description

@AB-xdev

Is your feature request related to a problem? Please describe.

I want to be able customize EVERYTHING of ApiClient.java.
Currently there are some private methods and fields that prevent me from doing that.

I need to customize a method inside this class so that some generic cookies are always present (this is also due to a not fully available OpenAPI schema).

Describe the solution you'd like

Change everything inside ApiClient.java from private to protected

Describe alternatives you've considered

Manually modifying the generated code.

Additional context

I encountered this topic so often that I wrote a blog post about it.

Might create a PR later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions