Skip to content

Commit cddf109

Browse files
committed
code review
1 parent f876fd9 commit cddf109

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,24 @@ public SwaggerUiConfigParameters(SwaggerUiConfigProperties swaggerUiConfig) {
182182
* Add group.
183183
*
184184
* @param group the group
185+
* @param displayName the display name
185186
*/
186187
public void addGroup(String group, String displayName) {
187188
SwaggerUrl swaggerUrl = new SwaggerUrl(group, null, displayName);
188189
urls.add(swaggerUrl);
189190
}
190191

192+
/**
193+
* Add group.
194+
*
195+
* @param group the group
196+
*/
197+
public void addGroup(String group) {
198+
SwaggerUrl swaggerUrl = new SwaggerUrl(group, null, group);
199+
urls.add(swaggerUrl);
200+
}
201+
202+
191203
/**
192204
* Add url.
193205
*

0 commit comments

Comments
 (0)