Adding swagger to existing aws lambda (API Gateway)

Does anyone know a link to useful documentation on how to add swagger documentation to an existing aws lambda (API Gateway)? Some kind of noob tutorial, as I am completely unaware that I can boast.

I found some links, for example the following, which were not very useful or were not specific to lambda: https://blog.cloudboost.io/adding-swagger-to-existing-node-js-project-92a6624b855b https: // github .com / swagger-api / swagger-node

+6
source share
1 answer

I used Swagger with the Gateway API with the old version serverlessv0.5, as there was a plugin that easily supported this. However, when it serverlessmatured in version 1.0 and above, at that time there were no good plugins for Swagger integration.

Here are the links you can check:

Github Serviceless Problem: Swagger Integration

Reckon-limited / serverless_swagger

doapp-ryanp / serverless-plugin-swag

I personally do not use the above, though, since my large server projects now use GraphQL (where the API documentation is part of the standard toolkit :-) instead of REST.

+2
source

All Articles