@stormreply/cdk-openapi
Project description
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:
# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
from stormreply.cdk_openapi import OpenAPI, OpenAPIProps
api = OpenAPI(self, "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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for stormreply.cdk-openapi-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f926f3ea1e469ed3a19810268a9b0d72fafc39ffafc60737258fbfba8fa25a8 |
|
MD5 | 6923c9a9de547b09565ea1a9929b97d8 |
|
BLAKE2b-256 | d88fcecb25bcdae66378a7e44a1bbc16b63863610e53470e1e3416390bb69e15 |
Close
Hashes for stormreply.cdk_openapi-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de7a42d35074331c16e18ab1254dff98268548f271613230c922d19bd30aa21 |
|
MD5 | 4c8dca46db4a44bbc61a58a179b48eb0 |
|
BLAKE2b-256 | 83ccf37c6d1b4d7bc1ce5690d4c91412055d32d93ee0ae21f8ea865417cd44ba |