This minimal example shows two controllers in a Spring Data REST app with base path /api: One using @BasePathAwareController —…