mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-07 12:37:48 +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 {
|
if index.allMappedRefs[ref.FullDefinition] == nil {
|
||||||
found = append(found, located)
|
found = append(found, located)
|
||||||
index.allMappedRefs[located.FullDefinition] = 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()
|
index.refLock.Unlock()
|
||||||
|
|
||||||
} else {
|
} 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