We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a developer I want to customize api responses or add project specific logic by adding a plugin.
Suggestion:
First enable a configuration file .servemocks.config.js which will be loaded by servemocks, This could look like this:
.servemocks.config.js
import customMiddleware from './foo/bar/custom-middleware' export default { middleware: [ { name: 'custom-middleware', handler: customMiddleware } ] }
Servemocks now will be able to execute customMiddleware at some point.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
As a developer I want to customize api responses or add project specific logic by adding a plugin.
Suggestion:
First enable a configuration file
.servemocks.config.js
which will be loaded by servemocks,This could look like this:
Servemocks now will be able to execute customMiddleware at some point.
The text was updated successfully, but these errors were encountered: