We have some already developed REST APIs in SpringBoot.
Now we want to prepend some text (version of API eg /v1/
) to all the @RequestMapping
.
Is there any way of doing this except prepending /v1/
to every @RequestMapping
example: Current RequestMapping /employess
and /cars/1/driver
Need to build like this /v1/employess
and /v1/cars/1/driver