Closed bdo closed 3 years ago
Thanks for reporting @bdo! The fix is effective in the latest version of the plugin.
Hi @pavelvlasov,
Thanks for replying so quickly to my issue !
However I tried again with version 0.5.26 and it's still not fixed.
By looking at your commit, I believe your fix applies to http
not httpApi
.
Please re-open including my related PR which fixes the httpApi schema.
thanks for pointing this out @bdo 👍 I updated httpAri definitions as well in the latest version.
I'm submitting a ...
What is the current behavior?
This tool incorrectly classifies '*' as an invalid value for the httpApi method property.
Using this following fragment in serverless.yml:
The plugin highlights '*' as invalid and displays the following error:
No error highlighting as '*' is a valid value for the httpApi method.
Using
any
as recommended by the plugin does not work and will lead to the following serverless validation error:This means the only valid values for the serverless framework httpApi method are (case insensitive):
*
GET
POST
PUT
PATCH
OPTIONS
HEAD
DELETE
Please tell us about your environment: