Open podhmo opened 4 years ago
definitions:
Person:
memo:
$ref: "#/definitions//Memo" # not /Memo
Memo: ...
{
"definitions": {
"Box": {
"additionalProperties": {
"$ref": "#definitions/value" // #/definitions/value is correct value
},
"properties": {
"name": {
"type": "string"
}
}
},
"value": {
"type": "integer"
}
},
"version": "2.0.0"
}
"children4": {
"type": "array",
"items": {
"name": {
"type": "string"
},
"age": {
"type": "integer"
},
"children": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Person"
}
}
}
}