express-oven
Version:
An easy mock API generator with express.js
46 lines (45 loc) • 818 B
JSON
{
"type": "object",
"properties": {
"operation": {
"type": "string",
"const": "create"
},
"uidField": {
"$ref": "uid-field-config.schema.json"
},
"save": {
"type": "boolean"
},
"returnEntity": {
"type": "boolean"
},
"dataJsonPath": {
"type": "string"
},
"responseModel": {
"type": "object",
"properties": {
}
},
"paramMatch": {
"type": "object",
"properties": {
}
},
"delay": {
"type": "number"
},
"extensions": {
"type": "object",
"properties": {
"withDefaultValues": {
"type": "object",
"properties": {
}
}
}
}
},
"required": ["operation", "uidField", "save", "dataJsonPath", "returnEntity"]
}