allOf should be supported according to Swagger schema object
"ParameterA": {
"type": "object",
"properties": {
"error": {
"$ref": "#/definitions/Object",
"readOnly": true,
"description": "sample"
}
},
"allOf": [{
"$ref": "#/definitions/ParameterB"
}]
}