mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Pass the key node
This commit is contained in:
@@ -235,7 +235,8 @@ func extractComponentValues[T low.Buildable[N], N any](label string, root *yaml.
|
||||
|
||||
// build.
|
||||
_ = low.BuildModel(value, n)
|
||||
err = n.Build(value, idx)
|
||||
// todo: label is a key or?
|
||||
err = n.Build(label, value, idx)
|
||||
if err != nil {
|
||||
ec <- err
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user