Skip to content

FR: Add Path to @Controller #15021

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

Closed
GabrielBB opened this issue Oct 30, 2018 · 2 comments
Closed

FR: Add Path to @Controller #15021

GabrielBB opened this issue Oct 30, 2018 · 2 comments
Labels
for: external-project For an external project and not something we can fix status: invalid An issue that we don't feel is valid

Comments

@GabrielBB
Copy link

GabrielBB commented Oct 30, 2018

Instead of:

@RestController
@RequestMapping("/api/")

It would be cleaner to do this:

@RestController("/api/")

@GabrielBB GabrielBB changed the title Feature Request: Add Path to @Controller FR: Add Path to @Controller Oct 30, 2018
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 30, 2018
@wilkinsona
Copy link
Member

Thanks for the suggestion, but @RestController is from Spring MVC which is part of Spring Framework. If you'd like to pursue this, please open a Spring Framework JIRA ticket and comment here with a link to it.

@wilkinsona wilkinsona added status: invalid An issue that we don't feel is valid for: external-project For an external project and not something we can fix and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 30, 2018
@mbhave mbhave closed this as completed Oct 30, 2018
@GabrielBB
Copy link
Author

GabrielBB commented Oct 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

4 participants