Can someone help please:
I am using quicktype to generate typescript types from json schema. It appears that allOf is not recognised. For example, output of below creates an interface without any attributes from AmountAndFrequency. How can I resolve it?
"Income": { "allOf": [ { "$ref": "#/definitions/AmountAndFrequency" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "GrossSalaryAmount", "Overtime" ] }, "description": { "type": "string" } }, "additionalProperties": false, "required": [ "type" ] } ] },
Thanks
Can someone help please:
I am using quicktype to generate typescript types from json schema. It appears that
allOfis not recognised. For example, output of below creates an interface without any attributes from AmountAndFrequency. How can I resolve it?"Income": { "allOf": [ { "$ref": "#/definitions/AmountAndFrequency" }, { "type": "object", "properties": { "type": { "type": "string", "enum": [ "GrossSalaryAmount", "Overtime" ] }, "description": { "type": "string" } }, "additionalProperties": false, "required": [ "type" ] } ] },Thanks