serverless-openapi-plugin
Serverless plugin to generate AWS serverless architecture from openApi definition.
It also generate validation (using Joi) for headers/query/params and body.
Configuration
On your serverless.yml add:
plugins:
-serverless-openapi-plugin
By default the plugin is looking for a definition.yml, but you can override this setting using:
customs:
definition: mydefinition.yml
In order to generate handlers, you need to specify the handler name at root or operation level with x-serverless-handler key.
Usage
Simple as:
serverless openapi

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
