aws-lambda-dotnet icon indicating copy to clipboard operation
aws-lambda-dotnet copied to clipboard

Requesting Generation of the OpenApi (Swagger) specification from Lambda Annotations

Open jon-armen opened this issue 11 months ago • 2 comments

Describe the feature

Lambda Annotations should cause the ApiGateway to have a swagger specification complete with generated models based on the inputs / outputs of the functions.

Use Case

My team depends heavily on OpenApi specifications. It would be extremely valuable for the generated functions to produce the specs.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • [ ] I may be able to implement this feature request
  • [ ] This feature might incur a breaking change

AWS .NET SDK and/or Package version used

Amazon.Lambda.Annotations

Targeted .NET Platform

.Net 8

Operating System and version

Lambda

jon-armen avatar Jan 30 '25 19:01 jon-armen

Just FYR, Swagger for Minimal API example: https://github.com/aws/aws-lambda-dotnet/issues/1236#issuecomment-1180736811

At high level, appears to be a useful feature request. Needs review with the team.

ashishdhingra avatar Feb 03 '25 23:02 ashishdhingra

Previous discussion with a similar feature request: https://github.com/aws/aws-lambda-dotnet/discussions/1763

dscpinheiro avatar Feb 06 '25 17:02 dscpinheiro