Skip to content

Releases: AfterShip/swagger-ajv

v3.0.1

Choose a tag to compare

@Houdou Houdou released this 30 Jul 03:48
  • Fix lodash dependency vulnerability

2.0.4

Choose a tag to compare

@Duncan00 Duncan00 released this 23 May 11:04
  • Fix missing default option parameter for doc middleware

Fix vulnerable packages

Choose a tag to compare

@pengzihe pengzihe released this 23 May 06:51
82b291d
Merge pull request #44 from gongbaodd/master

[CORE-1282] Fix vulnerable dependencies

Support using customised path for documentation

Choose a tag to compare

@Duncan00 Duncan00 released this 21 May 10:48
  • Can pass {path} as second parameter when use docs middleware in both koa & express

Throw error {status = 422, isSwaggerAjvValidationError = true}

Choose a tag to compare

@victor-develop victor-develop released this 27 Mar 06:22
a717854

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

Choose a tag to compare

@Duncan00 Duncan00 released this 07 Nov 10:31
a07940b
  • Support ajv custom keywords
  • Support ajv custom error message

Validate query params

Choose a tag to compare

@abrbhat abrbhat released this 30 Aug 09:17
055830b
Merge pull request #33 from abrbhat/master

Validate query params

Bug fix

Choose a tag to compare

@xiaoyufan xiaoyufan released this 23 May 07:20
  • #24 Fix useDirStructure not parsing correctly