serverless/serverless-swagger-plugin

Name: serverless-swagger-plugin

Owner: Serverless

Description: null

Created: 2016-02-19 08:38:18.0

Updated: 2018-05-16 22:57:04.0

Pushed: 2016-10-02 07:37:24.0

Homepage: null

Size: 2

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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:

install --save serverless-swagger-import-plugin

Add the plugin to s-project.json:

gins": [
erverless-swagger-import-plugin"

Usage

In a component root folder, run:

erless 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:

erless swagger import path/to/swagger.yaml

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.