mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
addressed issue #195
Resolving and indexing has changed, new code is required and this isue highlighted a glitch introduced with the addition of the rolodex when resolving. Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -563,9 +563,10 @@ func (index *SpecIndex) ExtractComponentsFromRefs(refs []*Reference) []*Referenc
|
||||
found = append(found, located)
|
||||
index.allMappedRefs[located.FullDefinition] = located
|
||||
rm := &ReferenceMapped{
|
||||
Reference: located,
|
||||
Definition: located.Definition,
|
||||
FullDefinition: located.FullDefinition,
|
||||
OriginalReference: ref,
|
||||
Reference: located,
|
||||
Definition: located.Definition,
|
||||
FullDefinition: located.FullDefinition,
|
||||
}
|
||||
sequence[refIndex] = rm
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user