JSPM

mock-openapi-in-aws-api-gateway

1.0.8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q16462F
  • License ISC

This is another openapi (a.k.a swagger) mock server builder file to take advantage of AWS API Gateway free tier.

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-gateway

Usage

import mockOpenapi from 'mock-openapi-in-aws-api-gateway';
const openapiSpecInJson = {...};
const instance = mockOpenapi(openapiSpecInJson);
const result = await instance.addIntegration();