GraphQL typesafe client (relying on Smallrye GraphQL) to call some GitLab GraphQL endpoints, in particular the Vulnerabilities one.
With this library and io.smallrye:smallrye-graphql-client-implementation-vertx:2.11.0
on the classpath, the client can be instantiated with:
VulnerabilitiesClientApi api = TypesafeGraphQLClientBuilder.newBuilder()
.endpoint("https://gitlab.com/api/graphql")
// .header("Authorization", "Bearer " + gitlabToken)
.build(VulnerabilitiesClientApi.class);
This library can be used with Quarkus or Jbang.