From 064a10a5d400fcf2299a2c6031ae3e4dfa4dc65a Mon Sep 17 00:00:00 2001 From: Luke Sleeman Date: Mon, 25 Jul 2016 20:16:16 +1000 Subject: [PATCH] Update docs to include @Path annotation As part of 4.0.0 all rest method params now need annotations. This adds the @Path annotation to the docs for @Post --- .../org/androidannotations/rest/spring/annotations/Post.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AndroidAnnotations/androidannotations-rest-spring/rest-spring-api/src/main/java/org/androidannotations/rest/spring/annotations/Post.java b/AndroidAnnotations/androidannotations-rest-spring/rest-spring-api/src/main/java/org/androidannotations/rest/spring/annotations/Post.java index 7ac09d9b26..52ec479fe9 100644 --- a/AndroidAnnotations/androidannotations-rest-spring/rest-spring-api/src/main/java/org/androidannotations/rest/spring/annotations/Post.java +++ b/AndroidAnnotations/androidannotations-rest-spring/rest-spring-api/src/main/java/org/androidannotations/rest/spring/annotations/Post.java @@ -44,7 +44,7 @@ * Event newEvent(); * * @Post("/events/new/{id}") - * void newEvent(@Body Event event, int id); + * void newEvent(@Body Event event, @Path int id); * } * *