Skip to content

Commit f2a75b3

Browse files
author
bnasslahsen
committed
code review
1 parent 2b0aed4 commit f2a75b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public Operation buildTags(HandlerMethod handlerMethod, Operation operation, Ope
213213
operation.setTags(new ArrayList<>(tagsStr));
214214
}
215215

216-
if (CollectionUtils.isEmpty(operation.getTags()) && springDocConfigProperties.getAutoTagClasses()) {
216+
if (CollectionUtils.isEmpty(operation.getTags()) && Boolean.TRUE.equals(springDocConfigProperties.getAutoTagClasses())) {
217217
operation.addTagsItem(splitCamelCase(handlerMethod.getBeanType().getSimpleName()));
218218
}
219219

0 commit comments

Comments
 (0)