Changeset 17:a0d0419a8055

Added comments
author unexist
date Thu, 16 Sep 2021 17:54:22 +0200
parents 6b1fd96410ef
children 6f95fb92b770
files todo-service/src/main/java/dev/unexist/showcase/route/TodoKafkaRoute.java todo-service/src/main/java/dev/unexist/showcase/route/TodoRestRoute.java
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/todo-service/src/main/java/dev/unexist/showcase/route/TodoKafkaRoute.java	Wed Sep 01 17:04:43 2021 +0200
+++ b/todo-service/src/main/java/dev/unexist/showcase/route/TodoKafkaRoute.java	Thu Sep 16 17:54:22 2021 +0200
@@ -35,7 +35,7 @@
     public void configure() throws Exception {
         restConfiguration().bindingMode(RestBindingMode.json);
 
-        /* Create create endpoint for trigger */
+        /* Create endpoint for trigger */
         rest("todo")
             .post("/create")
                 .consumes("application/json")
--- a/todo-service/src/main/java/dev/unexist/showcase/route/TodoRestRoute.java	Wed Sep 01 17:04:43 2021 +0200
+++ b/todo-service/src/main/java/dev/unexist/showcase/route/TodoRestRoute.java	Thu Sep 16 17:54:22 2021 +0200
@@ -33,6 +33,7 @@
     public void configure() throws Exception {
         restConfiguration().bindingMode(RestBindingMode.json);
 
+        /* Create REST endpoint */
         rest("todo")
             .post("/")
                 .consumes("application/json").type(Todo.class)