Documentation error triggering request/response warning
See original GitHub issueThis is a Bug Report
Description
I followed the documentation for AWS Events, [lambda-proxy configuration] to configure a path parameter for my endpoint (https://serverless.com/framework/docs/providers/aws/events/apigateway#request-parameters), including a request configuration block. This triggered the warning, Warning! You're using the LAMBDA-PROXY in combination with request / response configuration in your function "<function_name>". Serverless will remove this configuration automatically before deployment.
Removing the request configuration block, but retaining the path parameter, e.g. {id}
in the path descriptor made the warning go away, and the API endpoint still works.
I think a documentation update is all that’s necessary. I’m new to the serverless framework though, so I thought I would post this bug report before updating the documentation and issuing a PR.
Similar or dependent issues: N/A
Additional Data
N/A
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
No worries @tcchau! Glad to hear that it’s working on your end after updating 👍
Thanks @horike37 for lending a helping hand here 🙌!
@pmuens @horike37 My bad! Yes, this warning goes away after I upgraded to 1.19.0. I was previously using 1.17.0