Am 17.05.2015 um 09:37 schrieb Suliman:
Thanks, but what mean:
@rootPathFromName in example?
It will define a URL prefix that is generated from the interface name:
@rootPathFromName
interface Test {
string getFoo();
}
is equivalent to:
@path("/test")
interface Test {
string getFoo();
}
Both will result in a route "GET /test/foo" to be added.