With multiple Spring controllers that consume and produce application/json, my code is littered with long annotations like:
application/json
You can use the @RestController instead of @Controller annotation.
@RestController
@Controller