Hello,
I’m using the JSON schema for the validation under the tab “Tests”.
I need to reuse the same script for differents endpoints. How can I do it?
Is it possible to import a file such shown below [see $ref]?
{
"type": "object",
"required": [
"data",
"meta"
],
"properties": {
"meta": {
"$ref": "../api/members/MetaObject-v2.json"
},
"data": {
"type": "array",
"items": {
"$ref": "./device/Devicebject-v2.json"
}
}
}
}
Thanks in advance