A serverless plugin to remove all occurences of application/x-www-form-urlencoded
request templates that are automagically added by serverless. The reason to remove this is to enforce API clients to use the application/json
, which then can leverage JSON schema validation.
$ yarn add serverless-remove-default-form-requesttemplate-plugin
$ npm install serverless-remove-default-form-requesttemplate-plugin
plugins:
- serverless-remove-default-form-requesttemplate-plugin
Feel free to use the code, it's released using the MIT license.