This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ed27d7a49365771f10b2ccc752cce7583e3e339e
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Feb 20 17:35:40 2024 +0100

    CAMEL-20410: documentation fixes for camel-graphql
    
    - Fixed samples
    - Fixed grammar and typos
    - Fixed punctuation
    - Added and/or fixed links
---
 components/camel-graphql/src/main/docs/graphql-component.adoc | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/components/camel-graphql/src/main/docs/graphql-component.adoc 
b/components/camel-graphql/src/main/docs/graphql-component.adoc
index 802be988e1e..a86aa45f431 100644
--- a/components/camel-graphql/src/main/docs/graphql-component.adoc
+++ b/components/camel-graphql/src/main/docs/graphql-component.adoc
@@ -46,7 +46,9 @@ include::partial$component-endpoint-options.adoc[]
 
 == Message Body
 
-If the `variables` and `variablesHeader` parameters are not set and the IN 
body is a JsonObject instance, Camel will use it for the operation's variables. 
If the `query` and `queryFile` parameters are not set and the IN body is a 
String, Camel will use it as the query. Camel will store the GraphQL response 
from the external server on the OUT message body. All headers from the IN 
message will be copied to the OUT message, so headers are preserved during 
routing. Additionally Camel will ad [...]
+If the `variables` and `variablesHeader` parameters are not set and the IN 
body is a JsonObject instance, Camel will use it for the operation's variables. 
If the `query` and `queryFile` parameters are not set and the IN body is a 
String, Camel will use it as the query. Camel will store the GraphQL response 
from the external server on the OUT message body.
+All headers from the IN message will be copied to the OUT message, so headers 
are preserved during routing.
+Additionally, Camel will add the HTTP response headers as well to the OUT 
message headers.
 
 == Examples
 
@@ -134,7 +136,7 @@ from("direct:start")
 
 === Mutations
 
-Mutations are like queries with variables. They specify a query and a 
reference to a variables bean:
+Mutations are like queries with variables. They specify a query and a 
reference to a variables' bean:
 
 addBookMutation.graphql file:
 

Reply via email to