open-api icon indicating copy to clipboard operation
open-api copied to clipboard

Make use of ajv useDefaults option for defaults, replacing openapi-default-setter

Open buzzware opened this issue 5 years ago • 1 comments

Same reasoning as #628, but a different option so I thought I'd make it a different issue. This would lighten the load on this project by making better leverage of ajv. It supports defaults in requestBody unlike this project. At least openapi-request-validator could support ajv options being passed in.

buzzware avatar Feb 13 '20 13:02 buzzware

if you can simplify please feel free and submit a pr

jsdevel avatar Feb 20 '20 18:02 jsdevel