Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

v4.0.0

Compare
Choose a tag to compare
@ApiaryBot ApiaryBot released this 08 Jul 13:30
· 20 commits to master since this release
b4deb63

4.0.0 (2019-07-08)

Bug Fixes

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