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

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


The following commit(s) were added to refs/heads/master by this push:
     new fdc7e29  Polished model to include doc for rest-dsl repsonse examples
fdc7e29 is described below

commit fdc7e296eaa2e0d7310862c5f2b248368329e5d4
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Dec 20 10:27:03 2017 +0100

    Polished model to include doc for rest-dsl repsonse examples
---
 .../camel/model/rest/RestOperationResponseMsgDefinition.java       | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git 
a/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java
 
b/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java
index ecbf064..8ff6581 100644
--- 
a/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java
+++ 
b/camel-core/src/main/java/org/apache/camel/model/rest/RestOperationResponseMsgDefinition.java
@@ -104,12 +104,15 @@ public class RestOperationResponseMsgDefinition {
         return examples;
     }
 
+    /**
+     * Examples of response messages
+     */
     public void setExamples(List<RestPropertyDefinition> examples) {
         this.examples = examples;
     }
 
     /**
-     * The response code such as a HTTP status code.
+     * The response code such as a HTTP status code
      */
     public RestOperationResponseMsgDefinition code(int code) {
         setCode("" + code);
@@ -118,7 +121,7 @@ public class RestOperationResponseMsgDefinition {
 
     /**
      * The response code such as a HTTP status code. Can use <tt>general</tt>, 
or other words
-     * to indicate general error responses that do not map to a specific HTTP 
status code.
+     * to indicate general error responses that do not map to a specific HTTP 
status code
      */
     public RestOperationResponseMsgDefinition code(String code) {
         setCode(code);

-- 
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <commits@camel.apache.org>'].

Reply via email to