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.
Please refer to the blog post for instructions on how to run this project.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.