I\'m trying to to mix mvc and rest in a single spring boot project.
I want to set base path for all rest controllers (eg. example.com/api) in a single place (I don\'
For Boot 2.0.0+ this works for me: server.servlet.context-path = /api