davidmoten / openapi-to-plantuml-aws-api

Apache License 2.0
6 stars 0 forks source link

openapi-to-plantuml-aws-api


This is the source for https://openapi-to-puml.davidmoten.org/prod/site/index.html which converts OpenAPI definitions to PlantUML online. The site uses AWS API Gateway with Lambda and S3 integrations.

This project is a very useful resource if you want to have a custom domain name with a valid certificate pointing to an Api Gateway that uses java Lambda and also integrates with an S3 public bucket.

Deployment

Prepare

Deploy

To deploy you need your AWS credential pair (encrypted preferrably but up to you) in .m2/settings.xml with the name my.aws. If you want to use a different serverId then run the command below with the extra argument -Dserver.id=<YOUR_SERVER_ID>.

./deploy.sh

The deploy script does these steps: