Innecessary @RequestBody annotations on @RestController-annotated controllers
guillevc opened this issue · 2 comments
guillevc commented
We don't need to annotate the @RestController-annotated controllers with the @responsebody annotation since it's done by default.
jonashackt commented
The controller is annotated with @RequestMapping (see https://github.com/jonashackt/spring-boot-vuejs/blob/master/backend/src/main/java/de/jonashackt/springbootvuejs/controller/BackendController.java) - or do you mean the methods? How should that work? PRs always welcome...
jonashackt commented
Fixed by @luanelioliveira 👍