This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
v4.0.0
4.0.0 (2019-07-08)
Bug Fixes
- removes "@stable" general tag (411239f)
- uses "I" instead of "you" (47831ab)
- uses inline gavel call in the validation step (1508dfb)
Features
- coordinates composable steps vocabulary (2a6035c)
- introduces unified validation result structure (884f80e)
BREAKING CHANGES
-
Gavel validation result structure includes the next changes:
-
Validity of an HTTP message and its fields is marked in
valid
property:
-result.isValid
-result.fields.body.isValid
+result.valid
+result.fields.body.valid
- HTTP message fields may include expected/actual values that represent end compared values:
result.fields.body.values.expected
result.fields.body.values.actual
- Each HTTP message field contains the "kind" enum property of values "text" and "json" representing the end value type:
result.fields.body.kind // "json"
- HTTP message fields no longer include the next properties:
validator
expectedType
- `realType*
rawData