Package Exports
- mock-openapi-in-aws-api-gateway
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mock-openapi-in-aws-api-gateway) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Mock openapi in AWS API Gateway
This is another openapi (a.k.a swagger) mock server builder file to take advantage of AWS API Gateway free tier.
Install
yarn add mock-openapi-in-aws-api-gateway
# or npm install --sage mock-openapi-in-aws-api-gatewayUsage
import mockOpenapi from 'mock-openapi-in-aws-api-gateway';
const openapiSpecInJson = {...};
const instance = mockOpenapi(openapiSpecInJson);
const result = await instance.addIntegration();