mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 04:20:24 +00:00
Fixed a small couple of glitches that appeared during load testing.
This commit is contained in:
@@ -106,15 +106,17 @@ func (sr *SecurityRequirement) Build(root *yaml.Node, idx *index.SpecIndex) erro
|
|||||||
dat = keyValues
|
dat = keyValues
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
res[low.KeyReference[string]{
|
if currSec != nil {
|
||||||
Value: currSec.Value,
|
res[low.KeyReference[string]{
|
||||||
KeyNode: currSec,
|
Value: currSec.Value,
|
||||||
}] = dat
|
KeyNode: currSec,
|
||||||
requirements = append(requirements,
|
}] = dat
|
||||||
low.ValueReference[map[low.KeyReference[string]][]low.ValueReference[string]]{
|
requirements = append(requirements,
|
||||||
Value: res,
|
low.ValueReference[map[low.KeyReference[string]][]low.ValueReference[string]]{
|
||||||
ValueNode: n,
|
Value: res,
|
||||||
})
|
ValueNode: n,
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sr.ValueRequirements = requirements
|
sr.ValueRequirements = requirements
|
||||||
|
|||||||
2812
index/spec_index.go
2812
index/spec_index.go
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user