private ServiceSpecification generate(List<ServiceConfig> services, Route docServiceRoute) {
            return ServiceSpecification.merge(
                    plugins.stream()
                           .map(plugin -> plugin.generateSpecification(
                                   findSupportedServices(plugin, services),
                                   filter, descriptiveTypeInfoProvider))
                           .collect(toImmutableList()), docServiceRoute);
        }
Creates a new instance with example HTTP headers and example requests and injected scripts.
core/src/main/java/com/linecorp/armeria/server/docs/DocService.java