mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
cleaned up path handling a little
Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -529,8 +529,8 @@ func (index *SpecIndex) ExtractRefs(node, parent *yaml.Node, seenPath []string,
|
||||
}
|
||||
}
|
||||
|
||||
seenPath = append(seenPath, strings.ReplaceAll(n.Value, "/", "~1"))
|
||||
//seenPath = append(seenPath, n.Value)
|
||||
//seenPath = append(seenPath, strings.ReplaceAll(n.Value, "/", "~1"))
|
||||
seenPath = append(seenPath, n.Value)
|
||||
prev = n.Value
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user