I am using Lambda API gateway REST API with serverless. I want to generate automatic API docs instead of writing manually in open API. I saw this documentation from Amazon https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-export-api.html
When I use this it is not generating Response properly. It generates something like this
responses:
200:
description: "200 response"
content:
application/json:
schema:
$ref: "#/components/schemas/Empty"
I want to know if there is anything I am doing wrong or if there is any other way to generate docs for serverless API gateway.
Thanks in advance.