|
|
@ -61,8 +61,8 @@ class DiscoveredWebOperation extends AbstractDiscoveredOperation implements WebO
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private String getId(String endpointId, Method method) {
|
|
|
|
private String getId(String endpointId, Method method) {
|
|
|
|
return Stream.of(method.getParameters()).filter(this::hasSelector)
|
|
|
|
return endpointId + Stream.of(method.getParameters()).filter(this::hasSelector)
|
|
|
|
.map(this::dashName).collect(Collectors.joining("", endpointId, ""));
|
|
|
|
.map(this::dashName).collect(Collectors.joining());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private boolean hasSelector(Parameter parameter) {
|
|
|
|
private boolean hasSelector(Parameter parameter) {
|
|
|
|