Fix Variable JSON Schema
This commit is contained in:
parent
558057010f
commit
434a6158ad
1 changed files with 22 additions and 4 deletions
26
spec/fixtures/api/schemas/variable.json
vendored
26
spec/fixtures/api/schemas/variable.json
vendored
|
@ -1,6 +1,24 @@
|
|||
{
|
||||
"id": "string",
|
||||
"key": "string",
|
||||
"value": "string",
|
||||
"protected": "boolean"
|
||||
"type": "object",
|
||||
"required": ["variables"],
|
||||
"properties": {
|
||||
"variables": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"required": [
|
||||
"id",
|
||||
"key",
|
||||
"value",
|
||||
"protected"
|
||||
],
|
||||
"properties": {
|
||||
"id": { "type": "integer" },
|
||||
"key": { "type": "string" },
|
||||
"value": { "type": "string" },
|
||||
"protected": { "type": "boolean" }
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue