Closed EddyArellanes closed 3 years ago
Hi @EddyArellanes,
Thanks for raising this issue. Unfortunately, from my initial research, the Serverless framework doesn't currently offer a way to extend the validation schema for http
events. I have raised an issue with them, hopefully a solution can be found.
@DianaIonita
I am using serverless v2.11.0 in one of my serverless aws lambda project, I got the same error like this:
Serverless: at 'functions.createPartner.events[0].http': unrecognized property 'caching'
wait for the fix/serverless their update...
Hi @yeukfei02,
I'm just waiting on this PR to get released by the serverless team, then I'll add the validation schema to this plugin.
@DianaIonita thats good wait for the update!
Released v1.5.2.
With the property caching inside like this one:
The Service configuration validation throws Configuration warning unrecognized property 'caching'. According to service configuration validation page: Configuration related to external plugin does not have an associated JSON Schema. In such cases, please report the issue with the plugin author and provide them the details on how to extend validation schema in order to permanently correct the issue.