Not all allOf properties are instanced / expanded:
eg. for the following definitions:
personAob:
type: object
allOf:
- $ref: "#/definitions/person"
- type: object
properties:
jobTitle:
type: string
contactAddress:
$ref: "#/definitions/address"
mailingAddress:
$ref: "#/definitions/address"
the person properties are instanced, and so is jobTitle - but contactAddress and mailingAddress are missing from the JSON output. For this definition:
myPersonOrAob:
$ref: "#/definitions/personAob"
Only these properties are generated (note missing mailingAddress and contactAddress):
"myPersonOrAob": {
"firstName": "enim adipisicing proident pariatur in",
"middleNames": "est quis occaecat in eiusmod",
"lastName": "veniam officia incididunt ut",
"fullName": "in sunt anim",
"phoneCountryCode": "nulla sunt ut exercitation commodo",
"phone": "eiusmod non labore",
"faxCountryCode": "Ut id dolore laboris",
"fax": "esse sunt sit sed irure",
"dateOfBirth": "1901-12-13",
"email": "zFdRBs0P3d@dvqtRSdykBqLxBnDTkhuzGxsYcxLZqRA.zpip",
"jobTitle": "dolor"
},
Not all allOf properties are instanced / expanded:
eg. for the following definitions:
personAob:
type: object
allOf:
- $ref: "#/definitions/person"
- type: object
properties:
jobTitle:
type: string
contactAddress:
$ref: "#/definitions/address"
mailingAddress:
$ref: "#/definitions/address"
the person properties are instanced, and so is jobTitle - but contactAddress and mailingAddress are missing from the JSON output. For this definition:
Only these properties are generated (note missing mailingAddress and contactAddress):