grouping request routings

33 views
Skip to first unread message

seraph seraph

unread,
Jul 15, 2014, 5:57:14 AM7/15/14
to redsto...@googlegroups.com
Hello all, 

Say I have in a large API, 
what would be your suggestion to best group request routings in order to tidy ?

thank you, 

Seraph Seraph

Luiz Mineo

unread,
Jul 15, 2014, 7:34:14 AM7/15/14
to redsto...@googlegroups.com
Hi Seraph,

You can use libraries and classes to organize your services.

The @Group [1] annotation can be used with classes, to define the base path of its methods.
Import statements can be annotated with @Install, which will define the base path of its routes.


I hope that answers your question.  Let me know if you have any doubts.

Best regards,
Luiz.

seraph seraph

unread,
Jul 15, 2014, 11:10:56 AM7/15/14
to redsto...@googlegroups.com
Thank you Luiz
Reply all
Reply to author
Forward
0 new messages