@Override
    public Map<String, DescriptionInfo> loadDocStrings(Set<ServiceConfig> serviceConfigs) {
        return serviceConfigs.stream()
                             .flatMap(c -> {
                                 final THttpService service = c.service().as(THttpService.class);
                                 assert service != null;
                                 return service.entries().values().stream();
                             })
                             .flatMap(entry -> entry.interfaces().stream().map(Class::getClassLoader))
                             .flatMap(loader -> docstringExtractor.getAllDocStrings(loader)
                                                                  .entrySet().stream())
                             .collect(toImmutableMap(Map.Entry<String, String>::getKey,
                                                     (Map.Entry<String, String> entry) ->
                                                             DescriptionInfo.of(entry.getValue()),
                                                     (a, b) -> a));
    }
{@link DocServicePlugin} implementation that supports {@link THttpService}s.
thrift/thrift0.13/src/main/java/com/linecorp/armeria/internal/server/thrift/ThriftDocServicePlugin.java