express-oven
Version:
An easy mock API generator with express.js
43 lines (42 loc) • 749 B
JSON
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "patch"
},
"paramMatch": {
"type": "object",
"properties": {
}
},
"save": {
"type": "boolean"
},
"returnEntity": {
"type": "boolean"
},
"dataJsonPath": {
"type": "string"
},
"responseModel": {
"type": "object",
"properties": {
}
},
"delay": {
"type": "number"
},
"extensions": {
"type": "object",
"properties": {
"withDefaultValues": {
"type": "object",
"properties": {
}
}
}
}
},
"required": ["operation", "paramMatch", "save", "dataJsonPath", "returnEntity"]
}