Releases: AfterShip/swagger-ajv
Releases · AfterShip/swagger-ajv
v3.0.1
2.0.4
Fix vulnerable packages
Merge pull request #44 from gongbaodd/master [CORE-1282] Fix vulnerable dependencies
Support using customised path for documentation
- Can pass
{path}
as second parameter when use docs middleware in both koa & express
Throw error {status = 422, isSwaggerAjvValidationError = true}
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
- Support ajv custom keywords
- Support ajv custom error message
Validate query params
Merge pull request #33 from abrbhat/master Validate query params