mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
A massive test update to bring everything inlne with the new Buildable signature.
All tests in index and datamodel now pass. The rolodex fixes all the things. Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -159,10 +159,11 @@ func (p *Paths) Build(ctx context.Context, _, root *yaml.Node, idx *index.SpecIn
|
||||
_ = low.BuildModel(pNode, path)
|
||||
err := path.Build(ctx, cNode, pNode, idx)
|
||||
|
||||
// don't fail the pipeline if there is an error, log it instead.
|
||||
if err != nil {
|
||||
if idx.GetLogger() != nil {
|
||||
idx.GetLogger().Error(fmt.Sprintf("error building path item '%s'", err.Error()))
|
||||
}
|
||||
//return buildResult{}, err
|
||||
idx.GetLogger().Error(fmt.Sprintf("error building path item '%s'", err.Error()))
|
||||
}
|
||||
|
||||
return buildResult{
|
||||
|
||||
Reference in New Issue
Block a user