File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,12 @@ that the target of the client is the application that is being tested (typically
230230This is useful if your application contains a GraphQL server-side API as well as a GraphQL client that is used for
231231testing the API.
232232
233+ If you need to add an authorization header, or any other custom HTTP header (in our case
234+ it's not required), this can be done with a configuration in the configuration file as well:
235+ ----
236+ quarkus.smallrye-graphql-client.star-wars-typesafe.header.HEADER-KEY=HEADER-VALUE
237+ ----
238+
233239`star-wars-typesafe` is the name of the configured client instance, and corresponds to the `configKey`
234240in the `@GraphQLClientApi` annotation. If you don't want to specify a custom name, you can leave
235241out the `configKey`, and then refer to it by using the fully qualified name of the interface.
You can’t perform that action at this time.
0 commit comments