Skip to content

Commit 8197824

Browse files
authored
Merge pull request #1888 from sbernardo/master
Summary custom actuator
2 parents 277b3c7 + dd0a32b commit 8197824

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/customizers/ActuatorOperationCustomizer.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,10 @@ public Operation customize(Operation operation, HandlerMethod handlerMethod) {
108108
while (matcher.find()) {
109109
operationId = matcher.group(1);
110110
}
111-
if (!summary.contains("$"))
111+
112+
if (operation.getSummary() == null && !summary.contains("$"))
112113
operation.setSummary(summary);
114+
113115
operation.setOperationId(operationId);
114116
}
115117
return operation;

0 commit comments

Comments
 (0)