I am currently developing a serverless application using Serverless Stack (SST) in a Node.js and TypeScript environment. My application involves AWS Lambda functions that are connected to an API Gateway. I want to generate OpenAPI specifications for my API endpoints automatically.
I've been looking into using tools like Tsoa or AWS CDK, but haven't found a straightforward way to integrate them with SST. I understand that AWS API Gateway has built-in support for OpenAPI, but I'm not sure how to leverage that with SST.
Does anyone have experience or insights on how I could automatically generate the OpenAPI specification using SST, or any guidance on the tools or methods I could use to achieve this?