@@
"properties": {
"children": {
"items": {
- "$ref": "#/components/schemas/Tree"
+ "type": "string"
},
"type": "array"
}
Result for patch:
[
Change {
paths: [
ChangePath {
old: [
"#/components/schemas/Tree",
"#/paths/~1tree/get/responses/200/content/application~1json/schema/$ref",
],
new: [
"#/components/schemas/Tree",
"#/paths/~1tree/get/responses/200/content/application~1json/schema/$ref",
],
comparison: Output,
},
ChangePath {
old: [
"#/components/schemas/Tree",
"#/components/schemas/Tree/properties/children/items/$ref",
"#/paths/~1tree/get/responses/200/content/application~1json/schema/$ref",
],
new: [
"#/components/schemas/Tree",
"#/paths/~1tree/get/responses/200/content/application~1json/schema/$ref",
],
comparison: Output,
},
],
changes: [
ChangeInfo {
old_subpath: "",
new_subpath: "properties/children/items",
message: "schema types changed",
class: Incompatible,
details: UnknownDifference,
},
],
},
]