Added NodeMap to all low level objects.

this sync map tracks all the nodes that apply to this object.
This commit is contained in:
quobix
2024-08-04 11:01:23 -04:00
parent 31ed123abd
commit 70f406b6cf
46 changed files with 712 additions and 44 deletions

View File

@@ -274,7 +274,7 @@ paths:
index := NewSpecIndexWithConfig(&rootNode, c)
assert.Len(t, index.GetReferenceIndexErrors(), 1)
assert.Equal(t, "component '#/paths/~1pet~1%$petId%7D/get/parameters' does not exist in the specification", index.GetReferenceIndexErrors()[0].Error())
assert.Equal(t, "component `#/paths/~1pet~1%$petId%7D/get/parameters` does not exist in the specification", index.GetReferenceIndexErrors()[0].Error())
}
func TestSpecIndex_LocateRemoteDocsWithEscapedCharacters(t *testing.T) {