Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
4.8.0
-
None
-
Unknown
Description
In the GitHub consumer documentation, https://camel.apache.org/components/4.8.x/github-component.html#_consumer_endpoints, the body type for the commit endpoint is listed as a org.eclipse.egit.github.core.RepositoryCommit. However, it is not. It is a String with the commit message.
I'm not sure if this is a problem with the documentation or the code. Changing the body to a RepositoryCommit would be consistent with the other consumers. For example, the tag consumer does provide a body type of RepositoryTag. Additionally, more information would be available from a RepositoryCommit object compared to the commit message and a few headers with some of the other information.
Attachments
Issue Links
- relates to
-
CAMEL-15998 Camel-Github: Better structure for consumer returned object
- Resolved