Refactored the new service for the coding exercise to accommodating API versioning. Also fixed broken unit tests brought about by the refactor.
New security finding by FindSecBugs because I forgot that the controller directly calls the repo and returns the entity as the endpoint response 👀. Already fixed and doing a simulated UAT.