@stormreply/cdk-openapi
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @stormreply/cdk-openapi

Weekly Downloads

7

Version

0.0.6

License

Apache-2.0

Unpacked Size

23.3 kB

Total Files

9

Last publish

Collaborators

  • henning.teek