Recommendations for generating OpenAPI with Lambda Annotations? #1763
-
I've been looking for a solution for creating an OpenAPI file automatically for my APIs. I've generally hosted AspNet WebAPIs inside lambda just for the purpose that it will generate swagger/OpenAPI files and host the swagger UI. Lately I've been starting to simplify my stack and move from WebAPI to Lambda Annotations, and would really like a way to automate OpenAPI generation. I know I can register all my types with API Gateway but that would all have to be hand coded in my CDK project, and API Gateway doesn't allow public access to Export OpenAPI, so its useless IMO for a public API definition endpoint. I'm assuming by this point someone else has solved for this. Is there a nuget package or a best practice or something along those lines? Ideally I'd like a combined OpenAPI definition for ALL API Gateways hosted within the custom domain, but I'd settle for one OpenAPI definition per API Gateway |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @dguisinger, Will check on this with the .NET SDK team and get back to you. Regards, |
Beta Was this translation helpful? Give feedback.
-
Hi @dguisinger, Thank you for reaching out. I have checked with the .NET SDK team and can confirm that there isn't a built-in solution right now for this purpose. But we would encourage you to submit a Regards, |
Beta Was this translation helpful? Give feedback.
Hi @dguisinger,
Thank you for reaching out. I have checked with the .NET SDK team and can confirm that there isn't a built-in solution right now for this purpose. But we would encourage you to submit a
Feature Request
. The more users requesting this functionality, the higher the chance it gets implemented in the future.Regards,
Chaitanya