fix javadoc warnings in feign client (#11527)

This commit is contained in:
William Cheng
2022-02-05 15:18:36 +08:00
committed by GitHub
parent 31f2f11beb
commit e2d32b2061
3 changed files with 12 additions and 6 deletions
@@ -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);
@@ -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);
@@ -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);