This automatically wires the resource controller and its defined methods to the corresponding HTTP operation.
It infers all details of the controller class and its methods from method names.
The classes with this decorator does not need method decorators.
Returns ClassDecorator
ClassDecorator
Example
This controller will automatically create the the path, GET /product/:id.
This automatically wires the resource controller and its defined methods to the corresponding HTTP operation. It infers all details of the controller class and its methods from method names. The classes with this decorator does not need method decorators.