api-composer
v0.0.1
Published
A library to synthesize Amazon API Gateway and Amazon Lambda.
Downloads
4
Readme
api-composer
A library to synthesize Amazon API Gateway and Amazon Lambda.
Install
npm install api-composerUsage
Composer#deploy creates resources on API Gateway from your swagger file.
import { Composer } from 'api-composer'
new Composer({
accessKeyId: '...',
region: '...',
secretAcceessKey: '...',
swaggerFilePath: '/path/to/swagger.yml'
}).deploy();