issues
search
pactflow
/
swagger-mock-validator
Other
13
stars
4
forks
source link
Feat: Upgrade AJV from 6 to 8
#31
Closed
vwong
closed
1 year ago
vwong
commented
1 year ago
much of validate-json has been gutted out, and replaced with
ajv-formats
many of the error strings have been updated
int64, int32, float validation has been relaxed according to
https://github.com/ajv-validator/ajv-formats/pull/22
nullable
requires use of
type
, see
https://github.com/ajv-validator/ajv/blob/490eb8c0eba8392d071fef005e16d330f259d0ba/lib/compile/validate/dataType.ts#L26C66-L26C66
other packages get a bump too, because why not?
nullable
requires use oftype
, see https://github.com/ajv-validator/ajv/blob/490eb8c0eba8392d071fef005e16d330f259d0ba/lib/compile/validate/dataType.ts#L26C66-L26C66