diff -r a09d5c59351a -r 7ef369744fd1 src/main/java/de/uapcore/lightpit/RequestMapping.java --- a/src/main/java/de/uapcore/lightpit/RequestMapping.java Thu Oct 15 14:01:49 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/RequestMapping.java Thu Oct 15 18:36:05 2020 +0200 @@ -51,10 +51,12 @@ /** * Specifies the request path relative to the module path. - * The path must be specified without leading slash, but may have a trailing slash. - * Requests will only be handled if the path exactly matches. + * The trailing slash is important. + * A node may start with a dollar ($) sign. + * This part of the path is then treated as an path parameter. + * Path parameters can be obtained by including the {@link PathParameters} interface in the signature. * * @return the request path the annotated method should handle */ - String requestPath() default ""; + String requestPath() default "/"; }