mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +00:00
Building out spec model
this one will take a few tests, there is significant recursion and threading going on.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user