Type object
File match .httpmockrc .httpmock.json
Schema URL https://catalog.lintel.tools/schemas/schemastore/httpmockrc/latest.json
Source https://www.schemastore.org/httpmockrc.json

Validate with Lintel

npx @lintel/lintel check
Type: object

A tool for mock local requests or proxy remote requests.

Properties

mockFileName string required

Root of mock files

Default: "mocks"
routes object required

Rules for proxy and mock

requestHeaders object

Custom request header

responseHeaders object

Custom response header

parseBody boolean

Parse post body by express.json()