Pass the key node

This commit is contained in:
Dmitry
2023-08-25 10:42:17 +02:00
committed by quobix
parent 55da120b19
commit 6c24cd5940
12 changed files with 22 additions and 21 deletions

View File

@@ -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