-
Notifications
You must be signed in to change notification settings - Fork 97
allOf is not properly merged #31
Copy link
Copy link
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.
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.
Given a schema that uses
allOfto combine two differentobjectschemas, 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.