@VisibleForTesting
    static List<ServiceInfo> buildHttpServiceInfos(List<HttpEndpoint> httpEndpoints) {
        if (httpEndpoints.isEmpty()) {
            return ImmutableList.of();
        }

        final Multimap<String, HttpEndpoint> byServiceName = HashMultimap.create();
        httpEndpoints.forEach(
                httpEndpoint -> byServiceName.put(httpEndpoint.spec().serviceName(), httpEndpoint));

        final ImmutableList.Builder<ServiceInfo> serviceInfos = ImmutableList.builder();
        byServiceName.asMap().forEach(
                (key, value) -> serviceInfos.add(buildHttpServiceInfo(key + HTTP_SERVICE_SUFFIX, value)));
        return serviceInfos.build();
    }
{@link DocServicePlugin} implementation that supports {@link GrpcService}s.
grpc/src/main/java/com/linecorp/armeria/internal/server/grpc/GrpcDocServicePlugin.java