I have an API exposed in WSO2 ESB. In these API there are many resources, and each one of them have oauthservice mediator, dbreport mediator and diferent endpoints for a same API context.
What is the best way to define these resources without repeating the mediators in each resource in WSO2 ESB API?
Thanks in advance.