You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Current generated Java clients only can be configured with a static access token. This does not work well for integrations where tokens are short-lived and need to be refreshed.
Describe the solution you'd like
Java clients can have a configuration for a supplier function to get an access token. In this function, we can implement a mechanism to refresh the access token.
Describe alternatives you've considered
I'm using custom templates and so far it is working well, but it makes diffucult to upgrade the openapi-generator version.
Is your feature request related to a problem? Please describe.
Current generated Java clients only can be configured with a static access token. This does not work well for integrations where tokens are short-lived and need to be refreshed.
Describe the solution you'd like
Java clients can have a configuration for a supplier function to get an access token. In this function, we can implement a mechanism to refresh the access token.
Describe alternatives you've considered
I'm using custom templates and so far it is working well, but it makes diffucult to upgrade the openapi-generator version.
Additional context
Similar to #14068
The text was updated successfully, but these errors were encountered: