Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #11788
Closed
Open
Issue created Mar 03, 2022 by Administrator@rootContributor

[REQ] Feature Request Description

Created by: JigarJoshi

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

I am generating a Java client for my server using OpenAPI specification. My server demands authorization token that is rotating. Also some of my API resources needs specific headers (contextual information specific to the RPC call for that resource)

Generated OpenAPI Java client (with library apache-http) doesn't have this flexibility.

Describe the solution you'd like

In the generated API for library (apache-httpclient), I would like to have a callback mechanism that can contribute to the underlying HTTP request for that specific call. I would also like to have a callback mechanism to retrieve authorization header at the client level.

Describe alternatives you've considered

N/A

Additional context

N/A

Assignee
Assign to
Time tracking