Skip to content

Commit 16bbd4b

Browse files
committed
doc: mvc annotation typos
1 parent a2af6e8 commit 16bbd4b

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

jooby/src/main/java/io/jooby/annotations/Body.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @Path("/r")
1818
* class Resources {
1919
*
20-
* @Post
20+
* @POST
2121
* public void method(@Body MyBean) {
2222
* }
2323
* }

jooby/src/main/java/io/jooby/annotations/Dispatch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* class Resources {
1919
*
2020
* @Dispatch
21-
* @Get
21+
* @GET
2222
* public ... dispatch() {
2323
* // do blocking calls
2424
* }

jooby/src/main/java/io/jooby/annotations/Path.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
* @Path("/r")
1818
* class Resources {
1919
*
20-
* @Path("/sub")
21-
* @Get
20+
* @GET("/sub")
2221
* public void method() {
2322
* }
2423
* }

0 commit comments

Comments
 (0)