Working through fix-73 and v0.6.0

This commit is contained in:
Dave Shanley
2023-02-16 16:23:36 -05:00
parent 2d536c884d
commit 1df5f44e6f
17 changed files with 3241 additions and 1205 deletions

View File

@@ -398,6 +398,18 @@ func TestAsanaAsDoc(t *testing.T) {
fmt.Println(d)
}
func TestDigitalOceanAsDoc(t *testing.T) {
data, _ := ioutil.ReadFile("../../../test_specs/asana.yaml")
info, _ := datamodel.ExtractSpecInfo(data)
var err []error
lowDoc, err = lowv3.CreateDocument(info)
if err != nil {
panic("broken something")
}
d := NewDocument(lowDoc)
fmt.Println(d)
}
func TestPetstoreAsDoc(t *testing.T) {
data, _ := ioutil.ReadFile("../../../test_specs/petstorev3.json")
info, _ := datamodel.ExtractSpecInfo(data)