diff -r 835dd169642a -r cc7f082c5ef3 src/main/java/de/uapcore/lightpit/RequestMapping.java --- a/src/main/java/de/uapcore/lightpit/RequestMapping.java Wed May 13 18:55:05 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/RequestMapping.java Wed May 13 21:10:23 2020 +0200 @@ -62,11 +62,19 @@ String requestPath() default ""; /** - * Returns the properties key for the (sub) menu label. + * Specifies the properties key for the sub menu label. + * An empty string (default) means that no sub menu entry shall be created. *
* This should only be used for {@link HttpMethod#GET} requests. * * @return the properties key */ String menuKey() default ""; + + /** + * May be changed to control the ordering of menu items. + * + * @return an integer to control the ordering + */ + int menuSequence() default 0; }