We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94c267e commit 1adc962Copy full SHA for 1adc962
modules/openapi-generator/src/main/resources/Java/libraries/jersey2/ApiClient.mustache
@@ -194,7 +194,6 @@ public class ApiClient {
194
throw new RuntimeException("No API key authentication configured!");
195
}
196
197
- {{#hasOAuthMethods}}
198
/**
199
* Helper method to set bearer token for the first Bearer authentication.
200
* @param bearerToken Bearer token
@@ -209,6 +208,7 @@ public class ApiClient {
209
208
throw new RuntimeException("No Bearer authentication configured!");
210
211
+ {{#hasOAuthMethods}}
212
213
* Helper method to set access token for the first OAuth2 authentication.
214
* @param accessToken Access token
0 commit comments