Skip to content

Commit 3627877

Browse files
authored
Update template.yml (#68)
fix deploy Signed-off-by: James Pether Sörling <pethers@users.noreply.github.com>
1 parent 9b9e5af commit 3627877

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

cloudformation/template.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -607,8 +607,7 @@ Resources:
607607
Uri: !Sub 'arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${Lambda.Arn}/invocations'
608608
# RequestValidatorId: !Ref ApiRequestValidator
609609
RequestModels:
610-
application/json:
611-
!Ref RequestModel
610+
application/json: ""
612611
MethodResponses:
613612
- StatusCode: 200
614613
ResponseModels:
@@ -620,14 +619,6 @@ Resources:
620619
OperationName: 'lambda'
621620
ResourceId: !Ref ApiResource
622621
RestApiId: !Ref RestApi
623-
RequestModel:
624-
Type: AWS::ApiGateway::Model
625-
Properties:
626-
ContentType: 'application/json'
627-
RestApiId: !Ref RestApi
628-
Schema: {"$schema": "http://json-schema.org/draft-04/schema#",
629-
"title": "Stats",
630-
"type": "object" }
631622
ApiLoggingGroup:
632623
Type: "AWS::Logs::LogGroup"
633624
Properties:

0 commit comments

Comments
 (0)