The GraphQLClientApi annotation declares a Java interface as a client-side view of a GraphQL API. Its configKey names the client, linking that interface to configuration and allowing several GraphQL clients to use different settings. section 4.5.4
Inventory client
A Reservation service can expose an allCars method while mapping it to the server's cars query with @Query("cars"). The resulting client supplies inventory data to the reservation availability endpoint.
