Building out spec model

this one will take a few tests, there is significant recursion and threading going on.
This commit is contained in:
Dave Shanley
2022-08-04 10:01:59 -04:00
parent a4012594de
commit e6518af576
5 changed files with 209 additions and 49 deletions

View File

@@ -1,7 +1,6 @@
package openapi
import (
"fmt"
"github.com/pb33f/libopenapi/datamodel"
"github.com/pb33f/libopenapi/datamodel/low"
v3 "github.com/pb33f/libopenapi/datamodel/low/3.0"
@@ -52,7 +51,6 @@ func CreateDocument(info *datamodel.SpecInfo) (*v3.Document, error) {
if len(errors) > 0 {
return &doc, errors[0]
}
fmt.Sprint(idx)
return &doc, nil
}