Skip to content

Commit 0c7e9aa

Browse files
committed
only route /api to lambda
1 parent 106ba7f commit 0c7e9aa

File tree

1 file changed

+1
-21
lines changed

1 file changed

+1
-21
lines changed

cloudformation/phony-swagger.yml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,7 @@ info:
77
88

99
paths:
10-
/:
11-
x-amazon-apigateway-any-method:
12-
responses:
13-
200:
14-
description: OK
15-
16-
x-amazon-apigateway-auth:
17-
type: NONE
18-
19-
x-amazon-apigateway-integration:
20-
responses:
21-
default:
22-
statusCode: 200
23-
passthroughBehavior: when_no_match
24-
httpMethod: POST
25-
contentHandling: CONVERT_TO_TEXT
26-
type: aws_proxy
27-
uri:
28-
Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:function:${ApplicationPrefix}-lambda/invocations"
29-
30-
/{proxy+}:
10+
/api/{proxy+}:
3111
x-amazon-apigateway-any-method:
3212
responses:
3313
200:

0 commit comments

Comments
 (0)