Skip to content

Commit

Permalink
Merge pull request #1888 from sbernardo/master
Browse files Browse the repository at this point in the history
Summary custom actuator
  • Loading branch information
bnasslahsen committed Oct 14, 2022
2 parents 277b3c7 + dd0a32b commit 8197824
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -108,8 +108,10 @@ public Operation customize(Operation operation, HandlerMethod handlerMethod) {
while (matcher.find()) {
operationId = matcher.group(1);
}
if (!summary.contains("$"))

if (operation.getSummary() == null && !summary.contains("$"))
operation.setSummary(summary);

operation.setOperationId(operationId);
}
return operation;
Expand Down

0 comments on commit 8197824

Please sign in to comment.