Skip to content

Commit 69d757c

Browse files
committed
code review
1 parent 8348800 commit 69d757c

File tree

2 files changed

+24
-9
lines changed

2 files changed

+24
-9
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/api/AbstractOpenApiResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* *
44
* * *
55
* * * *
6-
* * * * * Copyright 2019-2023 the original author or authors.
6+
* * * * * Copyright 2019-2022 the original author or authors.
77
* * * * *
88
* * * * * Licensed under the Apache License, Version 2.0 (the "License");
99
* * * * * you may not use this file except in compliance with the License.

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

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,11 @@ public void setPreLoadingEnabled(boolean preLoadingEnabled) {
971971
this.preLoadingEnabled = preLoadingEnabled;
972972
}
973973

974+
/**
975+
* Sets pre loading locales.
976+
*
977+
* @param preLoadingLocales the pre loading locales
978+
*/
974979
public void setPreLoadingLocales(List<String> preLoadingLocales) {
975980
this.preLoadingLocales = preLoadingLocales;
976981
}
@@ -1487,15 +1492,15 @@ public GroupConfig() {
14871492
/**
14881493
* Instantiates a new Group config.
14891494
*
1490-
* @param group the group
1491-
* @param pathsToMatch the paths to match
1492-
* @param packagesToScan the packages to scan
1495+
* @param group the group
1496+
* @param pathsToMatch the paths to match
1497+
* @param packagesToScan the packages to scan
14931498
* @param packagesToExclude the packages to exclude
1494-
* @param pathsToExclude the paths to exclude
1495-
* @param producesToMatch the produces to match
1496-
* @param consumesToMatch the consumes to match
1497-
* @param headersToMatch the headers to match
1498-
* @param displayName the display name
1499+
* @param pathsToExclude the paths to exclude
1500+
* @param producesToMatch the produces to match
1501+
* @param consumesToMatch the consumes to match
1502+
* @param headersToMatch the headers to match
1503+
* @param displayName the display name
14991504
*/
15001505
public GroupConfig(String group, List<String> pathsToMatch, List<String> packagesToScan,
15011506
List<String> packagesToExclude, List<String> pathsToExclude,
@@ -1676,10 +1681,20 @@ public void setDisplayName(String displayName) {
16761681
}
16771682

16781683

1684+
/**
1685+
* Is show oauth 2 endpoints boolean.
1686+
*
1687+
* @return the boolean
1688+
*/
16791689
public boolean isShowOauth2Endpoints() {
16801690
return showOauth2Endpoints;
16811691
}
16821692

1693+
/**
1694+
* Sets show oauth 2 endpoints.
1695+
*
1696+
* @param showOauth2Endpoints the show oauth 2 endpoints
1697+
*/
16831698
public void setShowOauth2Endpoints(boolean showOauth2Endpoints) {
16841699
this.showOauth2Endpoints = showOauth2Endpoints;
16851700
}

0 commit comments

Comments
 (0)