How To change baseUri: in application.properties add: spring.data.rest.basePath=/api or - in application.yml add: