Closed ls-jason-rossiter closed 3 years ago
Thanks for the addition. Could you please update an example code in examples
folder?
Thanks for the addition. Could you please update an example code in
examples
folder?
Done!
Thanks, @ls-jason-rossiter ! I have simplified your example to what is just necessary.
v0.14.0 has been just released.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Add support for OpenAPI body definitions for
Definition: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html#cfn-apigatewayv2-api-body
Motivation and Context
The project I'm working on uses a single OpenAPI definition file for code generation as well as API Gateway resources. The OpenAPI file has template placeholders that point to Lambda function ARNs which need to be filled in during TF deploys.
We use this like so:
The above creates integration and route resources and populates the OpenAPI file with relevant data.
Breaking Changes
No breaking changes.
How Has This Been Tested?
examples/*
projectsThis has been tested in-house with deploys to ephemeral environments using an OpenAPI definition file.