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 56c1f23 commit 3d9224fCopy full SHA for 3d9224f
errors/validation_error.go
@@ -49,6 +49,9 @@ type SchemaValidationFailure struct {
49
// ReferenceObject is the object that failed schema validation
50
ReferenceObject string `json:"referenceObject,omitempty" yaml:"referenceObject,omitempty"`
51
52
+ // ReferenceExample is an example object generated from the schema that was referenced in the validation failure.
53
+ ReferenceExample string `json:"referenceExample,omitempty" yaml:"referenceExample,omitempty"
54
+
55
// The original jsonschema.ValidationError object, if the schema failure originated from the jsonschema library.
56
OriginalJsonSchemaError *jsonschema.ValidationError `json:"-" yaml:"-"`
57
0 commit comments