Add Path to @Controller [SPR-17447] #21979
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
GabrielBB opened SPR-17447 and commented
Instead of:
@RestController
@RequestMapping("/api/")
It would be cleaner to do this:
@RestController("/api/")
Reference URL: spring-projects/spring-boot#15021
Issue Links:
@RestController
("duplicates")1 votes, 1 watchers
The text was updated successfully, but these errors were encountered: