diff --git a/client/implementation-vertx/pom.xml b/client/implementation-vertx/pom.xml index 990b526ce..73dbd7862 100644 --- a/client/implementation-vertx/pom.xml +++ b/client/implementation-vertx/pom.xml @@ -49,6 +49,11 @@ io.vertx vertx-web-client + + org.eclipse + yasson + runtime + io.smallrye @@ -65,11 +70,6 @@ smallrye-graphql-client-model-builder test - - org.eclipse - yasson - test - diff --git a/docs/client-standalone.md b/docs/client-standalone.md index 3bc39a1f0..2bf39d54c 100644 --- a/docs/client-standalone.md +++ b/docs/client-standalone.md @@ -19,11 +19,10 @@ This is a full script runnable directly with [JBang](https://www.jbang.dev/) tha uses a dynamic client for connecting to [countries.trevorblades.com](https://countries.trevorblades.com) to obtain a list of countries from its database. -``` +```java ///usr/bin/env jbang "$0" "$@" ; exit $? -//DEPS io.smallrye:smallrye-graphql-client-implementation-vertx:1.5.0 +//DEPS io.smallrye:smallrye-graphql-client-implementation-vertx:RELEASE -import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClientBuilder; import io.smallrye.graphql.client.dynamic.api.DynamicGraphQLClient; import io.smallrye.graphql.client.Response; import io.smallrye.graphql.client.vertx.dynamic.VertxDynamicGraphQLClientBuilder; @@ -55,4 +54,4 @@ class Client { } ``` -Save this file as `client.java` and execute with `jbang client.java`. \ No newline at end of file +Save this file as `Client.java` and execute with `jbang Client.java`.