with RESTController
with rest subgenerator