mulesoft-labs / osprey-method-handler

Middleware for validating requests and responses based on a RAML method object
Other
16 stars 16 forks source link

Bump ajv to support draft-06 JSONSchema #28

Closed feynmanliang closed 6 years ago

feynmanliang commented 7 years ago

ajv currently fails validating draft-06 JSONSchema, but can be extended to support this by bumping to 5.0.0

Backwards compatibility with draft-04 can be maintained as well; see https://github.com/epoberezkin/ajv#using-version-5

jstoiko commented 7 years ago

@feynmanliang would you be open to creating a PR?

feynmanliang commented 6 years ago

Looks like https://github.com/mulesoft-labs/osprey-method-handler/commit/3a561a1864aca8a1c4c9c9dba8e12218c2cf0e3c#diff-b9cfc7f2cdf78a7f4b91a753d10865a2 took care of it, thanks!