Skip to content

Commit 37e3a79

Browse files
committed
updated libopenapi to latest
faster! Signed-off-by: Dave Shanley <[email protected]>
1 parent 4321949 commit 37e3a79

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/pb33f/libopenapi-validator
33
go 1.21
44

55
require (
6-
github.com/pb33f/libopenapi v0.13.2
6+
github.com/pb33f/libopenapi v0.13.9
77
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
88
github.com/stretchr/testify v1.8.4
99
github.com/vmware-labs/yaml-jsonpath v0.3.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y
4949
github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
5050
github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw=
5151
github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro=
52-
github.com/pb33f/libopenapi v0.13.2 h1:YjjnfnGYPHjBdqG3eELQCj7ui8Xoc5fiClxq1ZhcOdc=
53-
github.com/pb33f/libopenapi v0.13.2/go.mod h1:Lv2eEtsAtbRFlF8hjH82L8SIGoUNgemMVoKoB6A9THk=
52+
github.com/pb33f/libopenapi v0.13.9 h1:LQKTjjhYObuw2RUISbzHx+PH6yueht3mNBx3SBVFjOY=
53+
github.com/pb33f/libopenapi v0.13.9/go.mod h1:Lv2eEtsAtbRFlF8hjH82L8SIGoUNgemMVoKoB6A9THk=
5454
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
5555
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
5656
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=

schema_validation/validate_document.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ func ValidateOpenAPIDocument(doc libopenapi.Document) (bool, []*liberrors.Valida
2222
info := doc.GetSpecInfo()
2323
loadedSchema := info.APISchema
2424
var validationErrors []*liberrors.ValidationError
25+
<-info.JsonParsingChannel
2526
decodedDocument := *info.SpecJSON
2627

2728
compiler := jsonschema.NewCompiler()

0 commit comments

Comments
 (0)