1.3.0
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