Skip to content

Commit 867f89d

Browse files
committed
jooby-apt: add routerPrefix/Suffix as supported options and add doc about it
1 parent 1f55392 commit 867f89d

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

docs/asciidoc/mvc-api.adoc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,17 @@ on them (mostly annotations processors).
917917
|boolean
918918
|false
919919
|Set the Route.mvcMethod when true.
920+
921+
|jooby.routerPrefix
922+
|string
923+
|
924+
|Prefix for generated class
925+
926+
|jooby.routerSuffix
927+
|string
928+
|_
929+
|Suffix for generated class
930+
920931
|===
921932

922933
==== Setting options

modules/jooby-apt/src/main/java/io/jooby/apt/JoobyProcessor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
SERVICES,
3838
MVC_METHOD,
3939
RETURN_TYPE,
40+
ROUTER_PREFIX,
41+
ROUTER_SUFFIX,
4042
SKIP_ATTRIBUTE_ANNOTATIONS
4143
})
4244
@SupportedSourceVersion(SourceVersion.RELEASE_17)

0 commit comments

Comments
 (0)