mocks-server/main

Is there an options to auto generate collection based on regex of routes name?

dimdimi4 opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
I have a project with 100+ routes, every time I add new one I need not to forget to add manually new myNewRoute:success route to my base collection.

Describe the solution you'd like
I would like some sort of more programatic solution to add those routes, maybe based on some simple regex, like:

  {
    id: 'main',
    routes: [
      "*:success"
    ]
  }

Hi @dimdimi4 ,
No, there is no such option currently, but it is a good idea. So, thanks for the suggestion, I have added it to the backlog. 😃