mulesoft/osprey-cli

Routing errors when calling `register` more than once

dmartinezg opened this issue · 0 comments

When registering more than one API in apikit my action handlers don't get called for calls on the first registerd API.

apikit.register(api1);
apikit.register(api2);

apikit.get(route for api1, action1);

when I call GET route for api1, apikit sends the mocked response for it, but it does not call my action handler action1