Skip to content

The code is this repository accompanies the blog post "Deploy and manage OpenAPI (Swagger) RESTful APIs with the AWS Cloud Development Kit (AWS CDK)"

License

Notifications You must be signed in to change notification settings

aws-samples/aws-cdk-openapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Deploy and manage OpenAPI (Swagger) RESTful APIs with the AWS Cloud Development Kit (AWS CDK)

The code in this repository accompanies the blog post Deploy and manage OpenAPI (Swagger) RESTful APIs with the AWS Cloud Development Kit (AWS CDK) located here. This code demonstrates how to:

  • Deploy a RESTful API stage to Amazon API Gateway from an OpenAPI specification.
  • Build and deploy an AWS Lambda function which contains the API functionality.
  • Auto-generate API documentation and publish this to an Amazon S3-hosted website served by the Amazon CloudFront content delivery network(CDN) service. This provides technical and non-technical stakeholders with versioned, current, and accessible API documentation.
  • Auto-generate client libraries for invoking the API and deploy these to AWS CodeArtifact which is a fully-managed artifact repository service. This enables API client development teams that seek to integrate with different versions of the API in different environments.

Architecture

alt text

Instructions

Please refer to the blog post for instructions on how to run this project.

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.