Я добавил Spring Data Rest (2.0) в существующее приложение Spring MVC, создав класс конфигурации Java, который расширяет RepositoryRestMvcConfiguration и добавляет @RestResource в репозитории.
Можно ли изменить базовый URL для Rest API? Например:
http://localhost:8080/rest/customers
вместо
http://localhost:8080/customers
Я попытался переопределить configureRepositoryRestConfiguration с помощью setBaseURI, но, похоже, он не применим ко всем ссылкам в ответе.