-
Notifications
You must be signed in to change notification settings - Fork 6k
Where I supposed to set the api_key value in Java generated code ? #697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Currently not supported, but will be added. |
See my simple and clean workaround: #684 or just define a separate query parameter in your specification |
Thanks. Still the static things are really ugly. For example Configuration: what we live in a perfect world and all APIs are implemented with swagger :) ? Then two APIs cannot use different keys or other config stuff with this approach! |
@karussell as you can see in the constructor of ApiClient, authentications are stored within an ApiClient instance, so configurations of different ApiClient instances do not interfere with each other. what's more, ApiClient/Configuration from different SDKs shall have different packages, for example, |
Ah, okay. Maybe the docs are outdated. As in #826 I saw |
Where I supposed to set the api_key value in Java generated code, when api_key set send as query parameter ?
The text was updated successfully, but these errors were encountered: