Skip to content

Commit 35605dc

Browse files
committed
f
1 parent 8e20f7e commit 35605dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check/checkdata/schema/parsevalidationresult.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func validationErrorSchemaPointerMatch(
119119
return validationError.SchemaPtr
120120
}
121121

122-
// In some cases, the schema validator does not provide the full pointer to the lowest level keywords related to the validation error cause.
122+
// The schema validator does not provide full pointer past logic inversion keywords to the lowest level keywords related to the validation error cause.
123123
// Therefore the sub-keywords must be checked for matches in order to be able to interpret the exact cause of the failure.
124124
if regexp.MustCompile("(/not)|(/oneOf)$").MatchString(validationError.SchemaPtr) {
125125
return validationErrorSchemaSubPointerMatch(schemaPointerRegexp, validationError.SchemaPtr, validationErrorSchemaPointerValue(validationError, schemasPath))

0 commit comments

Comments
 (0)