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); * } * *