swagger support for RestApi #5391
Labels
@aws-cdk/aws-apigateway
Related to Amazon API Gateway
effort/large
Large work item – several weeks of effort
feature-request
A feature should be added or improved.
I'd like to attach our API's Swagger documentation (swagger.json) to the Api Gateway rest api. Apparently you can do it simply by including a
Body
field to the rest apiProperties
but it seems this is not supported by CDK?Use Case
We took the base swagger json generated by API Gateway and improved it by adding documentation to it. Now I'd like to include it to the Cloudformation so it's available for browsing in the API Gateway Documenatiion page in the AWS Console.
Proposed Solution
Here is blog post showing how you can add the swagger doc directly under the
Body
like:This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: