gnodet-bot commented on code in PR #26478:
URL: https://github.com/apache/camel/pull/26478#discussion_r4018855954
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ai/CatalogDocs.java:
##########
@@ -469,7 +469,7 @@ private static JsonObject apiReferenceDoc(CamelCatalog
catalog, ApiReferenceMode
/**
* The variables a script language binds, hand-written because each
language binds its own set with its own names
- * (groovy has camelContext and no message, javascript has context and
message), and how a script reaches the Camel
+ * (groovy has camelContext and request, javascript has context and no
request), and how a script reaches the Camel
* API and a registry bean from them; null for a language that is not a
script.
*/
Review Comment:
**Nit:** The Javadoc description is now inaccurate — this PR makes `message`
the primary Groovy variable (with `request` and `in` as its aliases). The
comment should reflect that:
```suggestion
* (groovy has camelContext and message, javascript has context and no
request), and how a script reaches the Camel
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]