We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225257a commit 97aaecbCopy full SHA for 97aaecb
openapi3/errors.go
@@ -24,6 +24,12 @@ func (e ValidationError) Error() string {
24
return buff.String()
25
}
26
27
+// Errors unwraps into much detailed errors.
28
+// See https://pkg.go.dev/github.com/xeipuuv/gojsonschema#ResultError
29
+func (e ValidationError) Errors() []gojsonschema.ResultError {
30
+ return e
31
+}
32
+
33
// MultiError is a collection of errors, intended for when
34
// multiple issues need to be reported upstream
35
type MultiError []error
0 commit comments