File tree 1 file changed +6
-5
lines changed
springdoc-openapi-common/src/main/java/org/springdoc/core
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 11
11
import java .util .Map ;
12
12
import java .util .TreeMap ;
13
13
import java .util .stream .Collectors ;
14
+
14
15
import static org .springframework .util .AntPathMatcher .DEFAULT_PATH_SEPARATOR ;
15
16
16
17
/**
@@ -117,11 +118,6 @@ public class SwaggerUiConfigProperties {
117
118
118
119
private static List <SwaggerUrl > swaggerUrls = new ArrayList <>();
119
120
120
- public static void addGroup (String group ) {
121
- SwaggerUrl swaggerUrl = new SwaggerUrl (group );
122
- swaggerUrls .add (swaggerUrl );
123
- }
124
-
125
121
public Map <String , Object > getConfigParameters () {
126
122
final Map <String , Object > params = new TreeMap <>();
127
123
put ("layout" , layout , params );
@@ -325,6 +321,11 @@ public void setOauth2RedirectUrl(String oauth2RedirectUrl) {
325
321
this .oauth2RedirectUrl = oauth2RedirectUrl ;
326
322
}
327
323
324
+ public static void addGroup (String group ) {
325
+ SwaggerUrl swaggerUrl = new SwaggerUrl (group );
326
+ swaggerUrls .add (swaggerUrl );
327
+ }
328
+
328
329
public String getUrl () {
329
330
return url ;
330
331
}
You can’t perform that action at this time.
0 commit comments