I have an AWS-lambda based API, written in python. The data is in elastic search. The python code is basically an interface between the user and ES.
I need to add swagger documentation.
I can create the swagger.json file manually, but I would like to have some automated process, to be able to keep up with future changes.
Is there a library that would help me to somehow automatically generate the swagger documentation?
I was searching around, and I found multiple libraries for flask, but I'm not using flask
Head over to Swagger Inspector, and insert the end point of the resource you want to have documented. You can then navigate to the right panel from the History section of Swagger Inspector, and click "Create API definition" to create the OAS definition.
It is a fully managed platform which allows users to build, deploy and manage APIs at any scale. The important aspect of the Amazon API Gateway is that it supports the Swagger definition format for designing and building RESTful APIs, and as you know, SwaggerHub is all about the Swagger!
Steps to get swagger details from AWS API gateway :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With