essobedo commented on code in PR #8676:
URL: https://github.com/apache/camel/pull/8676#discussion_r1015138608


##########
docs/user-manual/modules/ROOT/pages/rest-dsl.adoc:
##########
@@ -141,13 +141,12 @@ only. The example above can be defined as:
 [source,xml]
 ----
 <rest>
-  <get uri="/customers/{id}">
+  <get path="/customers/{id}">
     <to uri="direct:customerDetail"/>
   </get>
-  <get uri="/customers/{id}/orders">
+  <get path="/customers/{id}/orders">
     <to uri="direct:customerOrders"/>
-  </get>
-  <post uri="/customers/neworder">
+  </get>post path=uri="/customers/neworder">

Review Comment:
   Seems to be a typo here



##########
docs/user-manual/modules/ROOT/pages/rest-dsl.adoc:
##########
@@ -214,13 +213,12 @@ And in XML:
 <restConfiguration inlineRoutes="true"/>
 
 <rest>
-  <get uri="/customers/{id}">
+  <get path="/customers/{id}">
     <to uri="direct:customerDetail"/>
   </get>
-  <get uri="/customers/{id}/orders">
+  <get path="/customers/{id}/orders">
     <to uri="direct:customerOrders"/>
-  </get>
-  <post uri="/customers/neworder">
+  </gepost path=t uri="/customers/neworder">

Review Comment:
   Seems to be a typo here



##########
docs/user-manual/modules/ROOT/pages/rest-dsl.adoc:
##########
@@ -117,13 +117,13 @@ And using XML DSL it becomes:
 [source,xml]
 ----
 <rest path="/customers/">
-  <get uri="/{id}">
+  <get path="/{id}">
     <to uri="direct:customerDetail"/>
   </get>
-  <get uri="/{id}/orders">
+  <get path="/{id}/orders">
     <to uri="direct:customerOrders"/>
   </get>
-  <post uri="/neworder">
+ post path=i="/neworder">

Review Comment:
   Seems to be a typo here



-- 
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]

Reply via email to