diff --git a/avaje-jex/src/main/java/io/avaje/jex/package-info.java b/avaje-jex/src/main/java/io/avaje/jex/package-info.java index 2d8b21c..fd9e77f 100644 --- a/avaje-jex/src/main/java/io/avaje/jex/package-info.java +++ b/avaje-jex/src/main/java/io/avaje/jex/package-info.java @@ -3,9 +3,8 @@ * *
{@code
  * final Jex.Server app = Jex.create()
- *   .routing(routing -> routing
- *     .get("/", ctx -> ctx.text("hello world"))
- *     .get("/one", ctx -> ctx.text("one"))
+ *   .get("/", ctx -> ctx.text("hello world"))
+ *   .get("/one", ctx -> ctx.text("one"))
  *   .port(8080)
  *   .start();
  *
diff --git a/avaje-jex/src/main/java/module-info.java b/avaje-jex/src/main/java/module-info.java
index ed6f9a1..52e3657 100644
--- a/avaje-jex/src/main/java/module-info.java
+++ b/avaje-jex/src/main/java/module-info.java
@@ -5,9 +5,8 @@
  *
  * 
{@code
  * final Jex.Server app = Jex.create()
- *   .routing(routing -> routing
- *     .get("/", ctx -> ctx.text("hello world"))
- *     .get("/one", ctx -> ctx.text("one"))
+ *   .get("/", ctx -> ctx.text("hello world"))
+ *   .get("/one", ctx -> ctx.text("one"))
  *   .port(8080)
  *   .start();
  *