Skip to content

Commit 18a8db4

Browse files
committed
Wrong type for springdoc.swagger-ui.oauth.useBasicAuthenticationWithAccessCodeGrant configuration property. Fixes #1911
1 parent 1357ff3 commit 18a8db4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public class SwaggerUiOAuthProperties {
8787
/**
8888
* The Use basic authentication with access code grant.
8989
*/
90-
private String useBasicAuthenticationWithAccessCodeGrant;
90+
private Boolean useBasicAuthenticationWithAccessCodeGrant;
9191

9292
/**
9393
* The Use pkce with authorization code grant.
@@ -233,7 +233,7 @@ public void setAdditionalQueryStringParams(Map<String, String> additionalQuerySt
233233
*
234234
* @return the use basic authentication with access code grant
235235
*/
236-
public String getUseBasicAuthenticationWithAccessCodeGrant() {
236+
public Boolean getUseBasicAuthenticationWithAccessCodeGrant() {
237237
return useBasicAuthenticationWithAccessCodeGrant;
238238
}
239239

@@ -242,7 +242,7 @@ public String getUseBasicAuthenticationWithAccessCodeGrant() {
242242
*
243243
* @param useBasicAuthenticationWithAccessCodeGrant the use basic authentication with access code grant
244244
*/
245-
public void setUseBasicAuthenticationWithAccessCodeGrant(String useBasicAuthenticationWithAccessCodeGrant) {
245+
public void setUseBasicAuthenticationWithAccessCodeGrant(Boolean useBasicAuthenticationWithAccessCodeGrant) {
246246
this.useBasicAuthenticationWithAccessCodeGrant = useBasicAuthenticationWithAccessCodeGrant;
247247
}
248248

0 commit comments

Comments
 (0)