This repo is for a blog post on https://matt.martz.codes
Install the project, deploy and export the deployed version of the OpenAPI spec
npx projen
npm run deploy
aws apigateway get-export --parameters extensions='postman' --rest-api-id c638jrlvt0 --stage-name prod --export-type oas30 openapideployed.json
Where c638jrlvt0
is your api id
OpenApi 3.0 Spec from AWS Console / cli: https://editor.swagger.io/?url=https://raw.githubusercontent.com/martzcodes/blog-cdk-openapi/main/openapideployed.json
Generated from project: https://editor.swagger.io/?url=https://raw.githubusercontent.com/martzcodes/blog-cdk-openapi/main/openapigenerated.json