Closed Vasfed closed 2 years ago
similar issue with direct allOf / oneOf combination as in schema:
Node: {
type: 'object',
properties: {
},
allOf: [{
oneOf: [{
properties: {
typeId: {
$ref: '#/components/schemas/Id'
}
}
}, {
properties: {
type: {
$ref: '#/components/schemas/NodeType'
}
}
}]
}, {
oneOf: [{
properties: {
parentId: {
$ref: '#/components/schemas/Id'
}
}
}, {
properties: {
parent: {
$ref: '#/components/schemas/Node'
}
}
}]
}]
},
This valid schema:
causes stack overflow:
tested on master @ dc5430e53def780a81612d269cc3aea3f8785eea