openapi-validator-utils
Version:
OpenAPI request, parameters, headers and response validator methods
12 lines (9 loc) • 313 B
JavaScript
module.exports = {
// Options to override default ajv settings (https://ajv.js.org/options.html)
ajvConfig: {},
// Custom error handler
errorHandler: null,
// If enabled, validation will throw errors if the payload has additional
// properties not defined in the schema
strictValidation: true,
};