I want a single API in a class to be accessible from 2 different paths.
For example: An API like getUsers should be accessible from /a/b/c/getUsers and as well as from /a/b/c/Users/getUsers.
I tried to use the placeholders using | symbol but I don't want placeholders since it Users is in the path for other APIs in other class.
Can someone please provide any solution for the same using @Path annotation in Java.