Skip to content

An example CDK stack demonstrating how to make SwaggerUI work when served via API Gateway and AWS Lambda

Notifications You must be signed in to change notification settings

PopeFelix/swagger-ui-apigateway-example-with-typescript-and-cdk

Repository files navigation

Swagger UI example with AWS CDK, Typescript, API Gateway, and Lambda

This demonstrates a simple CDK stack containing an API Gateway API whose documentation is provided by a Swagger UI endpoint (/swagger).

The cdk.json file tells the CDK Toolkit how to execute your app.

Useful commands

  • npm run build compile typescript to js
  • npm run watch watch for changes and compile
  • npm run test perform the jest unit tests
  • cdk deploy deploy this stack to your default AWS account/region
  • cdk diff compare deployed stack with current state
  • cdk synth emits the synthesized CloudFormation template

About

An example CDK stack demonstrating how to make SwaggerUI work when served via API Gateway and AWS Lambda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published