mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +00:00
(enhancement): Improved resolving/lookup code for #45
This commit is contained in:
@@ -94,7 +94,7 @@ func TestCreateDocumentStripe(t *testing.T) {
|
||||
data, _ := ioutil.ReadFile("../../../test_specs/stripe.yaml")
|
||||
info, _ := datamodel.ExtractSpecInfo(data)
|
||||
d, err := CreateDocument(info)
|
||||
assert.Len(t, err, 21)
|
||||
assert.Len(t, err, 23)
|
||||
|
||||
assert.Equal(t, "3.0.0", d.Version.Value)
|
||||
assert.Equal(t, "Stripe API", d.Info.Value.Title.Value)
|
||||
|
||||
Reference in New Issue
Block a user