Is it possible to use the endpoint path parameter in the form of JAX-RS
Tried to use the same approach:
@ApiMethod(name="get.regex", httpMethod=HttpMethod.GET, path="{var:.*}/stuff") public Book getRegEx(@Named("var") String sections) { return new Book(); }
but causes
java.lang.IllegalArgumentException: Error while processing method {var:.*}/stuff in API test VERSION v1 Error while processing method {var:.*}/stuff in API test VERSION v1
I need this to implement relational navigation, for example:
http://api.example.com/section1/section2/.../section_N
source share