mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-06 04:20:11 +00:00
Merge branch 'main' into ordered-libopenapi
This commit is contained in:
@@ -562,14 +562,14 @@ func (index *SpecIndex) ExtractComponentsFromRefs(refs []*Reference) []*Referenc
|
||||
if index.allMappedRefs[ref.FullDefinition] == nil {
|
||||
found = append(found, located)
|
||||
index.allMappedRefs[located.FullDefinition] = located
|
||||
rm := &ReferenceMapped{
|
||||
OriginalReference: ref,
|
||||
Reference: located,
|
||||
Definition: located.Definition,
|
||||
FullDefinition: located.FullDefinition,
|
||||
}
|
||||
sequence[refIndex] = rm
|
||||
}
|
||||
rm := &ReferenceMapped{
|
||||
OriginalReference: ref,
|
||||
Reference: located,
|
||||
Definition: located.Definition,
|
||||
FullDefinition: located.FullDefinition,
|
||||
}
|
||||
sequence[refIndex] = rm
|
||||
index.refLock.Unlock()
|
||||
|
||||
} else {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user