Adding swagger to existing aws lambda (API Gateway)

0 votes

Does anyone know of a link to a useful documentation on how to add swagger documentation to an existing AWS lambda (API Gateway)? Some sort of a beginner's tutorial as I am totally new to swagger.

I have found some links which were not so useful or not specific to lambda:https://blog.cloudboost.io/adding-swagger-to-existing-node-js-project-92a6624b855bhttps://github.com/swagger-api/swagger-node 

kindly share with me if there are any

Apr 27, 2018 in AWS by Flying geek
• 3,160 points
513 views

2 answers to this question.

0 votes
answered Apr 27, 2018 by Cloud gunner
• 4,280 points
0 votes

I have only used Swagger with API Gateway with the old v0.5 version of serverless framework as there was a plugin that supported this easily. However, when serverless matured into v1.0 and up, at that time, there were no good plugins for Swagger integration.

Here are links you can check:

Serverless Github Issue: Swagger Integration

Reckon-Limited/serverless_swagger

doapp-ryanp/serverless-plugin-swag

I don't personally use the above though as my big serverless projects are now using GraphQL (where API documentation is part of the standard tooling :-) instead of REST.

answered Aug 20, 2018 by Priyaj
• 56,900 points

Related Questions In AWS

0 votes
1 answer

How to Enable CORS for an AWS API Gateway Resource

Since you're using Lambda Proxy integration for ...READ MORE

answered Jul 10, 2018 in AWS by Hammer
• 360 points
726 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
3 answers

Not able to pass params POST to AWS Lambda from Amazon API Gateway

For this template : application/x-www-form-urlencoded  This line below will ...READ MORE

answered Jun 13, 2018 in AWS by Cloud gunner
• 4,280 points
2,192 views
+2 votes
3 answers