Skip to content

Commit

Permalink
Wrong type for springdoc.swagger-ui.oauth.useBasicAuthenticationWithA…
Browse files Browse the repository at this point in the history
…ccessCodeGrant configuration property.Fixes #1911
  • Loading branch information
bnasslahsen committed Nov 14, 2022
1 parent f24e7a6 commit fe6e982
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public class SwaggerUiOAuthProperties {
/**
* The Use basic authentication with access code grant.
*/
private String useBasicAuthenticationWithAccessCodeGrant;
private Boolean useBasicAuthenticationWithAccessCodeGrant;

/**
* The Use pkce with authorization code grant.
Expand Down Expand Up @@ -228,7 +228,7 @@ public void setAdditionalQueryStringParams(Map<String, String> additionalQuerySt
*
* @return the use basic authentication with access code grant
*/
public String getUseBasicAuthenticationWithAccessCodeGrant() {
public Boolean getUseBasicAuthenticationWithAccessCodeGrant() {
return useBasicAuthenticationWithAccessCodeGrant;
}

Expand All @@ -237,7 +237,7 @@ public String getUseBasicAuthenticationWithAccessCodeGrant() {
*
* @param useBasicAuthenticationWithAccessCodeGrant the use basic authentication with access code grant
*/
public void setUseBasicAuthenticationWithAccessCodeGrant(String useBasicAuthenticationWithAccessCodeGrant) {
public void setUseBasicAuthenticationWithAccessCodeGrant(Boolean useBasicAuthenticationWithAccessCodeGrant) {
this.useBasicAuthenticationWithAccessCodeGrant = useBasicAuthenticationWithAccessCodeGrant;
}

Expand Down

0 comments on commit fe6e982

Please sign in to comment.