Skip to content

Commit

Permalink
[fix] clean package-lock and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Mollweide committed Mar 25, 2019
1 parent 2c0ccf5 commit 26269f4
Show file tree
Hide file tree
Showing 3 changed files with 364 additions and 536 deletions.
16 changes: 8 additions & 8 deletions doc/readme-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ The middleware function will be called, in case of "middleware" is selected. It'

See [node-mock-server options](/doc/readme-options.md)

## Parameter[1] responseOptions
## Parameter[1] requestOptions

| attribute | type | description |
| ------------- | ------------- | ----- |
| req | Object | The (request object)[http://expressjs.com/en/api.html#req]. |
| res | Object | The (response object)[http://expressjs.com/en/api.html#res]. |
| method | string | Contains a string corresponding to the HTTP method of the request: GET, POST, PUT, and so on. |
| dir | string | The directory of selected response |
| preferences | Object | The preferences object |
| attribute | type | description |
| ----------- | ------ | --------------------------------------------------------------------------------------------- |
| req | Object | The (request object)[http://expressjs.com/en/api.html#req]. |
| res | Object | The (response object)[http://expressjs.com/en/api.html#res]. |
| method | string | Contains a string corresponding to the HTTP method of the request: GET, POST, PUT, and so on. |
| dir | string | The directory of selected response |
| preferences | Object | The preferences object |

0 comments on commit 26269f4

Please sign in to comment.