[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