Skip to content

Commit 4fe6e57

Browse files
committed
🐛 Fix properties show-oauth2-endpoints and SpringDocConfigProperties#showOauth2Endpoint properties name mismatch
1 parent 9b4f2e5 commit 4fe6e57

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ public class SpringDocConfigProperties {
203203
private boolean nullableRequestParameterEnabled;
204204

205205
/**
206-
* The Show oauth 2 endpoint.
206+
* The Show oauth2 endpoints.
207207
*/
208-
private boolean showOauth2Endpoint;
208+
private boolean showOauth2Endpoints;
209209

210210
/**
211211
* Gets override with generic response.
@@ -1506,11 +1506,11 @@ public void setDisplayName(String displayName) {
15061506
}
15071507
}
15081508

1509-
public boolean isShowOauth2Endpoint() {
1510-
return showOauth2Endpoint;
1509+
public boolean isShowOauth2Endpoints() {
1510+
return showOauth2Endpoints;
15111511
}
15121512

1513-
public void setShowOauth2Endpoint(boolean showOauth2Endpoint) {
1514-
this.showOauth2Endpoint = showOauth2Endpoint;
1513+
public void setShowOauth2Endpoints(boolean showOauth2Endpoint) {
1514+
this.showOauth2Endpoints = showOauth2Endpoint;
15151515
}
15161516
}

0 commit comments

Comments
 (0)