Daily tip #1
Did you know @RequestMapping can have an array of paths? (I didn’t)
You can have @RequestMapping(“/externalApi”, “clientApi”), and maybe you can avoid code duplication.
Your sonar thanks you =D
Take a look in repo-tip-1 to see a real example.