UNPKG

express-oven

Version:

An easy mock API generator with express.js

56 lines (55 loc) 936 B
{ "type": "object", "properties": { "operation": { "type": "string", "const": "read" }, "readOne": { "type": "boolean", "const": false }, "paramMatch": { "type": "object", "properties": { } }, "filterMatch": { "type": "object", "properties": { } }, "bodyMatch": { "type": "object", "properties": { } }, "queryMatch": { "type": "object", "properties": { } }, "dataJsonPath": { "type": "string" }, "responseModel": { "type": "object", "properties": { } }, "delay": { "type": "number" }, "extensions": { "type": "object", "properties": { "withDefaultValues": { "type": "object", "properties": { } } } } }, "required": ["operation", "readOne", "dataJsonPath"] }