Skip to content

Commit b413c95

Browse files
author
bnasslahsen
committed
code review
1 parent 3e54e91 commit b413c95

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,13 @@ private Builder() {
116116
// use static factory method in parent class
117117
}
118118

119+
/**
120+
* @deprecated Since v1.4.0, GroupedOpenApi.setGroup is marked as deprecated.
121+
* Use {@link GroupedOpenApi#builder()#group(String)} } instead.
122+
*/
119123
@Deprecated
120124
public Builder setGroup(String group) {
121-
this.group = group;
122-
return this;
125+
return this.group(group);
123126
}
124127

125128
public Builder group(String group) {

0 commit comments

Comments
 (0)