Skip to content

Commit fe6e982

Browse files
committed
Wrong type for springdoc.swagger-ui.oauth.useBasicAuthenticationWithAccessCodeGrant configuration property.Fixes #1911
1 parent f24e7a6 commit fe6e982

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiOAuthProperties.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public class SwaggerUiOAuthProperties {
8282
/**
8383
* The Use basic authentication with access code grant.
8484
*/
85-
private String useBasicAuthenticationWithAccessCodeGrant;
85+
private Boolean useBasicAuthenticationWithAccessCodeGrant;
8686

8787
/**
8888
* The Use pkce with authorization code grant.
@@ -228,7 +228,7 @@ public void setAdditionalQueryStringParams(Map<String, String> additionalQuerySt
228228
*
229229
* @return the use basic authentication with access code grant
230230
*/
231-
public String getUseBasicAuthenticationWithAccessCodeGrant() {
231+
public Boolean getUseBasicAuthenticationWithAccessCodeGrant() {
232232
return useBasicAuthenticationWithAccessCodeGrant;
233233
}
234234

@@ -237,7 +237,7 @@ public String getUseBasicAuthenticationWithAccessCodeGrant() {
237237
*
238238
* @param useBasicAuthenticationWithAccessCodeGrant the use basic authentication with access code grant
239239
*/
240-
public void setUseBasicAuthenticationWithAccessCodeGrant(String useBasicAuthenticationWithAccessCodeGrant) {
240+
public void setUseBasicAuthenticationWithAccessCodeGrant(Boolean useBasicAuthenticationWithAccessCodeGrant) {
241241
this.useBasicAuthenticationWithAccessCodeGrant = useBasicAuthenticationWithAccessCodeGrant;
242242
}
243243

0 commit comments

Comments
 (0)