I have created all of my REST model-endpoints using the REST CRUD model-endpoint generator. I would like add additional endpoints to the generated controller. Is this possible? I can't find any documentation that tells me how to do this. I suppose that I could manually add another controller, but I would prefer the ability to keep everything grouped in a single place.
Asked
Active
Viewed 102 times
1 Answers
1
Yes you can add controllers via 'lb4 controller' and selecting 'empty controller'. Or you can add additional methods to the existing controllers.
https://loopback.io/doc/en/lb4/Controllers.html#writing-controller-methods

Salitha
- 1,022
- 1
- 12
- 32