-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change @Controller to @RestController #1354
Comments
Yes, we don't need to use @responsebody annotation if we are using @RestController because @RestController itself is assigned with @responsebody internally. |
Its good to change this responseBody instead of changing controller to restController. |
Can I work on this issue? |
Is this issue closed ? If not can you please assign me this issue. |
hi @wilkinsona and @mbhave , I am creating a PR fixing this. Please review. |
Closing in favor of PR #1401 |
It seems like the controllers in
initializr-web
can all be@RestController
s. It would read better and avoid the need for@ResponseBody
here.The text was updated successfully, but these errors were encountered: