Skip to content

v2.0.1

Choose a tag to compare

@inigomarquinez inigomarquinez released this 13 Apr 13:21
· 87 commits to master since this release
fc6802a

Main changes

  • If the validator is initialized with an validationEndpoint, this endpoint is skipped from the validator itself to be able to do requests to it without validation errors.
  • Improved validateSchema method.
  • Renamed input to request in validation endpoint requestBody to have a more accurate name.

Other changes

  • Force validator to fully validate formats.
  • Simplified some debug messages.
  • Removed obsolete documentation from README to avoid confusion.
  • Fixed status code sent by the validator for some errors.