0.0.6 • Published 5 years ago

@stormreply/cdk-openapi v0.0.6

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
5 years ago

cdk-openapi

An AWS CDK construct which generates API Gateway exposed Lambda functions from an OpenAPI specification in your stack.

Usage

JavaScript

Install via npm:

$ npm i @stormreply/cdk-openapi

Add to your CDK stack:

import { OpenAPI, OpenAPIProps } from '@stormreply/cdk-openapi'

const api = new OpenAPI(this, 'SampleAPI', {
  api: 'api.yaml'
});

Python

Install via pip:

$ pip install stormreply.cdk-openapi

Add to your CDK stack:

from stormreply.cdk_openapi import (
    OpenAPI,
    OpenAPIProps,
)

api = OpenAPI(
    self, "SampleAPI", {
      api='api.yaml'
    }
)

License

Apache 2.0

0.0.6

5 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago