0.0.6 • Published 4 years ago

@stormreply/cdk-openapi v0.0.6

Weekly downloads
6
License
Apache-2.0
Repository
github
Last release
4 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

4 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago