From ddb761c1a9c53e3a06a51d5b88a3425460dcdfd3 Mon Sep 17 00:00:00 2001 From: quobix Date: Thu, 2 Nov 2023 16:32:57 -0400 Subject: [PATCH] fixed issue with what-changed and path detection #186 Signed-off-by: quobix --- what-changed/model/path_item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/what-changed/model/path_item.go b/what-changed/model/path_item.go index 06dd3d4..af3f67a 100644 --- a/what-changed/model/path_item.go +++ b/what-changed/model/path_item.go @@ -235,7 +235,7 @@ func compareSwaggerPathItem(lPath, rPath *v2.PathItem, changes *[]*Change, pc *P } if lPath.Get.IsEmpty() && !rPath.Get.IsEmpty() { CreateChange(changes, PropertyAdded, v3.GetLabel, - nil, rPath.Get.ValueNode, false, nil, lPath.Get.Value) + nil, rPath.Get.ValueNode, false, nil, rPath.Get.Value) } // put