Fix code generation for @Get Http Method in the Rest API

See #220