fixed issue with what-changed and path detection #186

Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
quobix
2023-11-02 16:32:57 -04:00
parent 78763fd48b
commit ddb761c1a9

View File

@@ -235,7 +235,7 @@ func compareSwaggerPathItem(lPath, rPath *v2.PathItem, changes *[]*Change, pc *P
} }
if lPath.Get.IsEmpty() && !rPath.Get.IsEmpty() { if lPath.Get.IsEmpty() && !rPath.Get.IsEmpty() {
CreateChange(changes, PropertyAdded, v3.GetLabel, CreateChange(changes, PropertyAdded, v3.GetLabel,
nil, rPath.Get.ValueNode, false, nil, lPath.Get.Value) nil, rPath.Get.ValueNode, false, nil, rPath.Get.Value)
} }
// put // put