serverless-reqvalidator-plugin
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "serverless-reqvalidator-plugin", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Serverless plugin for setting request validation", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -49,2 +49,10 @@ 'use strict'; | ||
// Create schema for your properties. For reference use https://github.com/ajv-validator/ajv | ||
serverless.configSchemaHandler.defineFunctionEventProperties('aws', 'http', { | ||
properties: { | ||
reqValidatorName: { type: 'string' }, | ||
}, | ||
required: ['reqValidatorName'], | ||
}); | ||
this.hooks = { | ||
@@ -51,0 +59,0 @@ 'before:package:finalize': this._beforeDeploy |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9446
96