From 13ce56ae314dff1c157fc8351fc702bf15573fce Mon Sep 17 00:00:00 2001 From: Piotr Grzesik Date: Mon, 30 Aug 2021 13:30:06 +0200 Subject: [PATCH] fix(AWS API Gateway): Recognize CF functions for `request.uri` --- lib/plugins/aws/package/compile/events/apiGateway/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/aws/package/compile/events/apiGateway/index.js b/lib/plugins/aws/package/compile/events/apiGateway/index.js index c118f2dc0..dcd0a0bc4 100644 --- a/lib/plugins/aws/package/compile/events/apiGateway/index.js +++ b/lib/plugins/aws/package/compile/events/apiGateway/index.js @@ -124,7 +124,7 @@ const requestSchema = { type: 'object', additionalProperties: { type: 'string' }, }, - uri: { type: 'string' }, + uri: { $ref: '#/definitions/awsCfInstruction' }, }, additionalProperties: false, };