Add tests for tuple enum variants
This commit is contained in:
parent
c2e8389e93
commit
07f4f68a02
4 changed files with 40 additions and 4 deletions
|
@ -44,6 +44,27 @@
|
|||
"required": [
|
||||
"struct"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"tuple": {
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"maxItems": 2,
|
||||
"minItems": 2
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"tuple"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -25,6 +25,19 @@
|
|||
"bar",
|
||||
"foo"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "boolean"
|
||||
}
|
||||
],
|
||||
"maxItems": 2,
|
||||
"minItems": 2
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue