mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +00:00
Adding tests to cover model as we grow it.
This commit is contained in:
@@ -19,7 +19,7 @@ func CreateDocument(spec []byte) (*v3.Document, error) {
|
||||
|
||||
// build an index
|
||||
//idx := index.NewSpecIndex(info.RootNode)
|
||||
datamodel.BuildModel(info.RootNode.Content[0], &doc)
|
||||
//datamodel.BuildModel(info.RootNode.Content[0], &doc)
|
||||
|
||||
// extract info
|
||||
extractErr := extractInfo(info, &doc)
|
||||
|
||||
Reference in New Issue
Block a user