mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 12:37:49 +00:00
fixed issue with what-changed and path detection #186
Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user