openapi-enforcer-middleware
openapi-enforcer-middleware copied to clipboard
Clarify the mocking documentation for v2
I got confused with the mocking documentation and thought that all I needed to instantiate fallback-monitoring was to add the x-mock-implemented
flag on each path I wanted mocked.
Maybe include a code snippet that shows how to add the mock to the middleware:
app.use(middleware.mock())