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:
@@ -102,7 +102,7 @@ func (p *Paths) Build(_, root *yaml.Node, idx *index.SpecIndex) error {
|
||||
|
||||
path := new(PathItem)
|
||||
_ = low.BuildModel(pNode, path)
|
||||
err := path.Build(pNode, idx)
|
||||
err := path.Build(cNode, pNode, idx)
|
||||
if err != nil {
|
||||
e <- err
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user