loopback model properties code example
Example 1: loopback model properties
MyModel.definition.properties
Example 2: loopback model properties default
...
"prop": {
"type": "boolean",
"required": true,
"default": false
},
...
MyModel.definition.properties
...
"prop": {
"type": "boolean",
"required": true,
"default": false
},
...