MCPcopy Create free account
hub / github.com/getkin/kin-openapi / TestIssue409PatternIgnored

Function TestIssue409PatternIgnored

openapi3/validation_issue409_test.go:12–19  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

10)
11
12func TestIssue409PatternIgnored(t *testing.T) {
13 l := openapi3.NewLoader()
14 s, err := l.LoadFromFile("testdata/issue409.yml")
15 require.NoError(t, err)
16
17 err = s.Validate(l.Context, openapi3.DisableSchemaPatternValidation())
18 assert.NoError(t, err)
19}
20
21func TestIssue409PatternNotIgnored(t *testing.T) {
22 l := openapi3.NewLoader()

Callers

nothing calls this directly

Calls 4

LoadFromFileMethod · 0.95
NewLoaderFunction · 0.92
ValidateMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…