Skip to content

Commit 3f93ae6

Browse files
committed
fixes oauth2 endpoints naming
1 parent 62a7d5a commit 3f93ae6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public class SpringDocConfigProperties {
235235
/**
236236
* The Show oauth 2 endpoint.
237237
*/
238-
private boolean showOauth2Endpoint;
238+
private boolean showOauth2Endpoints;
239239

240240
/**
241241
* The Sort converter.
@@ -1682,11 +1682,11 @@ public void setDisplayName(String displayName) {
16821682
}
16831683

16841684

1685-
public boolean isShowOauth2Endpoint() {
1686-
return showOauth2Endpoint;
1685+
public boolean isShowOauth2Endpoints() {
1686+
return showOauth2Endpoints;
16871687
}
16881688

1689-
public void setShowOauth2Endpoint(boolean showOauth2Endpoint) {
1690-
this.showOauth2Endpoint = showOauth2Endpoint;
1689+
public void setShowOauth2Endpoints(boolean showOauth2Endpoints) {
1690+
this.showOauth2Endpoints = showOauth2Endpoints;
16911691
}
16921692
}

0 commit comments

Comments
 (0)