Skip to main content

@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

stormreply.cdk-openapi-0.0.6.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stormreply.cdk_openapi-0.0.6-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file stormreply.cdk-openapi-0.0.6.tar.gz.

File metadata

  • Download URL: stormreply.cdk-openapi-0.0.6.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for stormreply.cdk-openapi-0.0.6.tar.gz
Algorithm Hash digest
SHA256 1f926f3ea1e469ed3a19810268a9b0d72fafc39ffafc60737258fbfba8fa25a8
MD5 6923c9a9de547b09565ea1a9929b97d8
BLAKE2b-256 d88fcecb25bcdae66378a7e44a1bbc16b63863610e53470e1e3416390bb69e15

See more details on using hashes here.

File details

Details for the file stormreply.cdk_openapi-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: stormreply.cdk_openapi-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0

File hashes

Hashes for stormreply.cdk_openapi-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9de7a42d35074331c16e18ab1254dff98268548f271613230c922d19bd30aa21
MD5 4c8dca46db4a44bbc61a58a179b48eb0
BLAKE2b-256 83ccf37c6d1b4d7bc1ce5690d4c91412055d32d93ee0ae21f8ea865417cd44ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page