We have json schema containing allOf and if keywords. Currently if we generate README we get empty object for config. Can we add support for these keywords as well.
{
"type": "object",
"properties": {
"key": {
"type": "object",
"properties": {
"prop1": {
"type": "string",
"enum": [
"v1",
"v2"
]
},
"config": {
"type": "object"
}
},
"allOf": [
{
"if": {
"properties": {
"prop1": {
"const": "v1"
}
},
},
"then": {
"properties": {
"config": {
"properties": {
"prop2": {
"type": "boolean"
}
}
,
"additionalProperties": false}
}
}
},
{
"if": {
"properties": {
"prop1": {
"const": "v2"
}
},
},
"then": {
"properties": {
"config": {
"properties": {
"prop3": {
"type": "boolean"
}
},
"additionalProperties": false
}
}
}
}
]
}
},
"additionalProperties": false
}
We have json schema containing
allOfandifkeywords. Currently if we generate README we get empty object forconfig. Can we add support for these keywords as well.{ "type": "object", "properties": { "key": { "type": "object", "properties": { "prop1": { "type": "string", "enum": [ "v1", "v2" ] }, "config": { "type": "object" } }, "allOf": [ { "if": { "properties": { "prop1": { "const": "v1" } }, }, "then": { "properties": { "config": { "properties": { "prop2": { "type": "boolean" } } , "additionalProperties": false} } } }, { "if": { "properties": { "prop1": { "const": "v2" } }, }, "then": { "properties": { "config": { "properties": { "prop3": { "type": "boolean" } }, "additionalProperties": false } } } } ] } }, "additionalProperties": false }