Skip to content

Releases: AfterShip/swagger-ajv

v3.0.1

30 Jul 03:48
Compare
Choose a tag to compare
  • Fix lodash dependency vulnerability

2.0.4

23 May 11:04
Compare
Choose a tag to compare
  • Fix missing default option parameter for doc middleware

Fix vulnerable packages

23 May 06:51
82b291d
Compare
Choose a tag to compare
Merge pull request #44 from gongbaodd/master

[CORE-1282] Fix vulnerable dependencies

Support using customised path for documentation

21 May 10:48
Compare
Choose a tag to compare
  • Can pass {path} as second parameter when use docs middleware in both koa & express

Throw error {status = 422, isSwaggerAjvValidationError = true}

27 Mar 06:22
a717854
Compare
Choose a tag to compare

This is a breaking change.

  • Previously it throws 400 error. Now is 422.
  • The error also contains a field isSwaggerAjvValidationError = true for developer to identify the error.

Add support for custom keywords & error messages

07 Nov 10:31
a07940b
Compare
Choose a tag to compare
  • Support ajv custom keywords
  • Support ajv custom error message

Validate query params

30 Aug 09:17
055830b
Compare
Choose a tag to compare
Merge pull request #33 from abrbhat/master

Validate query params

Bug fix

23 May 07:20
Compare
Choose a tag to compare
  • #24 Fix useDirStructure not parsing correctly