Set "required" schema attribute
This commit is contained in:
parent
6b64cedb91
commit
998e6c9f0f
7 changed files with 68 additions and 21 deletions
|
@ -12,5 +12,10 @@
|
|||
"new_name_2": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"camelCase",
|
||||
"new_name_1",
|
||||
"new_name_2"
|
||||
]
|
||||
}
|
|
@ -22,6 +22,13 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"inner",
|
||||
"t",
|
||||
"u",
|
||||
"v",
|
||||
"w"
|
||||
],
|
||||
"definitions": {
|
||||
"another-new-name": {
|
||||
"type": "object"
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"inner",
|
||||
"t",
|
||||
"u",
|
||||
"v",
|
||||
"w"
|
||||
],
|
||||
"definitions": {
|
||||
"MySimpleStruct": {
|
||||
"type": "object"
|
||||
|
|
|
@ -151,7 +151,10 @@
|
|||
"$ref": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"$ref"
|
||||
]
|
||||
},
|
||||
"SingleOrVec_For_InstanceType": {
|
||||
"anyOf": [
|
||||
|
|
|
@ -187,7 +187,10 @@
|
|||
"$ref": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"$ref"
|
||||
]
|
||||
},
|
||||
"SingleOrVec_For_InstanceType": {
|
||||
"anyOf": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue