Skip to content

1.3.0

Compare
Choose a tag to compare
@muratcorlu muratcorlu released this 24 Jul 15:06
· 92 commits to master since this release

Breaking Changes:

  • speedLimit feature removed
  • Setting multiple routes at once feature removed

Features:

  • baseUrl can be set in outside of api mocker. For example, these are valid usage examples:
app.use('/api', apiMocker('target/path'));

// or
app.use('/api/v[1-9]{1,2}/', apiMoker({
    target: 'target/path',
    nextOnNotFound: true
}));
  • Wildcards in paths #6