aws / aws/serverless-application-model
Support Response Models For API Event Types
Open
area/event-source
area/resource/api
area/resource/http-api
maintainer/need-response
type/feature
type/new-property
- Dominant language
- Python
- Stars
- 9.6k
- Forks
- 2.5k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 7
Description
Hi team,
`AWS::Serverless::Function`s provide a simple way to define API's and allow you to define RequestModels, which results in autogenerated Swagger so I was planing on using this feature for a new API I was building. However, I realized that you cannot define response models, and specifically error codes, which made this feature a non-starter for me. I'm opening this issue to request that SAM support response models in addition to request models so I don't have to end up authoring my own Swagger after all.
Contributor guide
Assessment
This issue has not been assessed yet.