-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededneeds investigationWork is needed to figure out the root cause of the problem.Work is needed to figure out the root cause of the problem.
Description
Given a schema that uses allOf
to combine two different object
schemas, the properties of the two schemas are not combined:
{
"components": {
"schemas": {
"identifier": {
"type": "object",
"properties": {
"id": {"type": "string"}
}
},
"person": {
"allOf": [
{"$ref": "#/components/schemas/identifier"},
{
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
]
}
}
}
}
Not 100% sure that schema validates, but it should be a good start.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is neededneeds investigationWork is needed to figure out the root cause of the problem.Work is needed to figure out the root cause of the problem.