private static Set<MediaType> availableMimeTypes(Route route) {
        final ImmutableSet.Builder<MediaType> builder = ImmutableSet.builder();
        final Set<MediaType> consumeTypes = route.consumes();
        builder.addAll(consumeTypes);
        if (!consumeTypes.contains(MediaType.GRAPHQL)) {
            builder.add(MediaType.GRAPHQL);
        }
        if (!consumeTypes.contains(MediaType.GRAPHQL_JSON)) {
            builder.add(MediaType.GRAPHQL_JSON);
        }
        return builder.build();
    }
A {@link DocServicePlugin} implementation that supports the {@link AbstractGraphqlService}.
graphql/src/main/java/com/linecorp/armeria/internal/server/graphql/GraphqlDocServicePlugin.java