node-skyapi-sdk
SkyAPI v2 is based on Open API Specification.
Release
npm run build:release
Build
All outputs go inside the dist/
folder:
npm run build:json
npm run build:yaml
npm run build:sdk
npm run build
npm run build:release
Add v2 Lambda
- Add your lambda as
devDependency
in package.json - Add reference to your lambda in
spec/openapi.yml
- Execute
npm run build
Add v1 Lambda
A non Open API compliant v1 lambda can be added as follows:
- Add your lambda as separate template in
codegen/templates/
- Add your lambda as additional partial in
codegen/render.js
- Include your partial in
codegen/templates/main.js
- Execute
npm run build
Debug Logs
Enable debug logs:
DEBUG=@skycatch/* node app.js