forked from loafle/openapi-generator-original
fix javadoc warnings in feign client (#11527)
This commit is contained in:
+4
-2
@@ -274,8 +274,8 @@ public class ApiClient {
|
||||
{{#hasOAuthMethods}}
|
||||
/**
|
||||
* Helper method to configure the client credentials for Oauth
|
||||
* @param username Username
|
||||
* @param password Password
|
||||
* @param clientId Client ID
|
||||
* @param clientSecret Client secret
|
||||
*/
|
||||
public void setClientCredentials(String clientId, String clientSecret) {
|
||||
OauthClientCredentialsGrant authorization = getAuthorization(OauthClientCredentialsGrant.class);
|
||||
@@ -286,6 +286,8 @@ public class ApiClient {
|
||||
* Helper method to configure the username/password for Oauth password grant
|
||||
* @param username Username
|
||||
* @param password Password
|
||||
* @param clientId Client ID
|
||||
* @param clientSecret Client secret
|
||||
*/
|
||||
public void setOauthPassword(String username, String password, String clientId, String clientSecret) {
|
||||
OauthPasswordGrant apiAuthorization = getAuthorization(OauthPasswordGrant.class);
|
||||
|
||||
+4
-2
@@ -230,8 +230,8 @@ public class ApiClient {
|
||||
|
||||
/**
|
||||
* Helper method to configure the client credentials for Oauth
|
||||
* @param username Username
|
||||
* @param password Password
|
||||
* @param clientId Client ID
|
||||
* @param clientSecret Client secret
|
||||
*/
|
||||
public void setClientCredentials(String clientId, String clientSecret) {
|
||||
OauthClientCredentialsGrant authorization = getAuthorization(OauthClientCredentialsGrant.class);
|
||||
@@ -242,6 +242,8 @@ public class ApiClient {
|
||||
* Helper method to configure the username/password for Oauth password grant
|
||||
* @param username Username
|
||||
* @param password Password
|
||||
* @param clientId Client ID
|
||||
* @param clientSecret Client secret
|
||||
*/
|
||||
public void setOauthPassword(String username, String password, String clientId, String clientSecret) {
|
||||
OauthPasswordGrant apiAuthorization = getAuthorization(OauthPasswordGrant.class);
|
||||
|
||||
+4
-2
@@ -237,8 +237,8 @@ public class ApiClient {
|
||||
|
||||
/**
|
||||
* Helper method to configure the client credentials for Oauth
|
||||
* @param username Username
|
||||
* @param password Password
|
||||
* @param clientId Client ID
|
||||
* @param clientSecret Client secret
|
||||
*/
|
||||
public void setClientCredentials(String clientId, String clientSecret) {
|
||||
OauthClientCredentialsGrant authorization = getAuthorization(OauthClientCredentialsGrant.class);
|
||||
@@ -249,6 +249,8 @@ public class ApiClient {
|
||||
* Helper method to configure the username/password for Oauth password grant
|
||||
* @param username Username
|
||||
* @param password Password
|
||||
* @param clientId Client ID
|
||||
* @param clientSecret Client secret
|
||||
*/
|
||||
public void setOauthPassword(String username, String password, String clientId, String clientSecret) {
|
||||
OauthPasswordGrant apiAuthorization = getAuthorization(OauthPasswordGrant.class);
|
||||
|
||||
Reference in New Issue
Block a user