mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Ensure encoded paths are handled in lookup. #84
This partially resolves a whacky path ref lookup in the index mentioned in #84, but it's not a full fix, that requires the build out of a resolved spec. The design needs thought and care.
This commit is contained in:
@@ -638,10 +638,6 @@ func (s *Schema) Build(root *yaml.Node, idx *index.SpecIndex) error {
|
||||
s.XML = low.NodeReference[*XML]{Value: &xml, KeyNode: xmlLabel, ValueNode: xmlNode}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
*/
|
||||
|
||||
// handle properties
|
||||
props, err := buildPropertyMap(root, idx, PropertiesLabel)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user