Skip to content

Commit

Permalink
try reproducing #601
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <pierrefenoll@gmail.com>
  • Loading branch information
fenollp committed Sep 19, 2022
1 parent 68016e0 commit 88d0a53
Show file tree
Hide file tree
Showing 2 changed files with 1,004 additions and 0 deletions.
16 changes: 16 additions & 0 deletions openapi3/issue601_test.go
@@ -0,0 +1,16 @@
package openapi3

import (
"testing"

"github.com/stretchr/testify/require"
)

func TestIssue601(t *testing.T) {
sl := NewLoader()
doc, err := sl.LoadFromFile("testdata/lxkns.yaml")
require.NoError(t, err)

err = doc.Validate(sl.Context, DisableSchemaPatternValidation())
require.NoError(t, err)
}

0 comments on commit 88d0a53

Please sign in to comment.