I followed Sulu documentations for adding custom entity types to Sulu and at point:
https://docs.sulu.io/en/2.2/book/extend-admin.html#configure-resources
when calling : bin/adminconsole debug:router | grep event
I should get all kinds of routes for complete rest api.
However, when I call it like that I get only one route listed:
app.get_events GET ANY ANY /admin/api/events.{_format}
Documentation there says "If you have already created other actions as well,..", but again admin EventController class has that annotation:
/**
* @RouteResource("event")
*/
.. so I'm not sure should I manually create a method for each rest action (GET, PUT, DELETE...) or they should be created automatically? If they should be created automatically then why I don't see those routes?