File tree Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Expand file tree Collapse file tree 3 files changed +0
-4
lines changed Original file line number Diff line number Diff line change 88)
99
1010func GetRegexForPath (tpl string ) (* regexp.Regexp , error ) {
11-
1211 // Check if it is well-formed.
1312 idxs , errBraces := BraceIndices (tpl )
1413 if errBraces != nil {
Original file line number Diff line number Diff line change @@ -1445,7 +1445,6 @@ paths:
14451445}
14461446
14471447func TestNewValidator_ODataFormattedOpenAPISpecs (t * testing.T ) {
1448-
14491448 spec := `openapi: 3.0.0
14501449paths:
14511450 /entities('{Entity}'):
@@ -1498,5 +1497,4 @@ paths:
14981497 valid , errors = v .ValidatePathParams (request )
14991498 assert .False (t , valid )
15001499 assert .Len (t , errors , 1 )
1501-
15021500}
Original file line number Diff line number Diff line change @@ -697,7 +697,6 @@ paths:
697697}
698698
699699func TestNewValidator_ODataFormattedOpenAPISpecs (t * testing.T ) {
700-
701700 spec := `openapi: 3.0.0
702701paths:
703702 /entities('{Entity}'):
You can’t perform that action at this time.
0 commit comments