Closed vvangestel closed 1 year ago
Api Function Auth follows a different structure from Api Auth and thus should not re-use the same class. Previously used https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-apiauth.html versus intended https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-apifunctionauth.html.
This PR fixes this discrepancy. Fixes #2144
Hello, can this PR receive a set of :eyes:
Thanks :pray:
Thank you for the PR and sorry about the delay. I added more logic via 2c7f04f for backward compatibility, deprecation warning, and tests.
Api Function Auth follows a different structure from Api Auth and thus should not re-use the same class. Previously used https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-api-apiauth.html versus intended https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-apifunctionauth.html.
This PR fixes this discrepancy. Fixes #2144