I have a Spring Boot application with multiple controllers in a single package. I would like to prepend "/api/" to all @RequestMapping paths and am assuming it is possible to do so in one place. I can't change server.contextPath because I have other things that need to be served from the root context.
Is it possible to do something like this using controller advice?
Any guidance is appreciated.