DianaIonita / serverless-api-gateway-caching

A plugin for the Serverless framework which helps with configuring caching for API Gateway endpoints.
ISC License
136 stars 35 forks source link

Only add RequestParameters if not using AWS_PROXY #51

Closed eahefnawy closed 5 years ago

eahefnawy commented 5 years ago

RequestParameters is not a valid property for AWS_PROXY. Specifying it when using AWS_PROXY breaks the integration when using Authorizers.

akleiber commented 5 years ago

😕 oh wow I was really confused because your commit message states the opposite

add requestParams only when using AWS_PROXY

eahefnawy commented 5 years ago

@akleiber ha! Nice catch! Sorry about that 😅