RESTLER: use brackets to specify parameter

63 views Asked by At

Similar to how OData does it, I want to use Luracast Restler with the following format to specifiy the id of an entity.

@url GET entity({id})

instead of

@url GET entity/{id}

Is there any solution for this? If not, can this be handled by a customized router?

Thanks and regards, Markus

1

There are 1 answers

0
Arul Kumaran On

CommentParser is responsible for that, so you need to extend and tweak the comment parser