Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Latest commit ef89cf9 Apr 6, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial Apr 6, 2016
README.md initial Apr 6, 2016
index.js initial Apr 6, 2016
package.json initial Apr 6, 2016

README.md

Serverless Swagger Import Plugin

Work in progress. Not ready for use yet.

This Serverless plugin imports AWS API Gateway Endpoint configuration (x-amazon-apigateway-integration extensions) from a Swagger file to s-function.json.

Installation

In your project root, run:

npm install --save serverless-swagger-import-plugin

Add the plugin to s-project.json:

"plugins": [
  "serverless-swagger-import-plugin"
]

Usage

In a component root folder, run:

serverless swagger import

By default the command will try load the swagger file (swagger.yaml or swagger.json) from the component folder. You can also specify a path to a swagger file:

serverless swagger import path/to/swagger.yaml
You can’t perform that action at this time.