/
swagger.json
53 lines (53 loc) · 1.07 KB
/
swagger.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"swagger": "2.0",
"info": {
"version": "2016-08-17T18:08:34Z",
"title": "SAMLam API"
},
"basePath": "/v1",
"schemes": ["https"],
"paths": {
"/route": {
"get": {
"produces": ["application/json"],
"responses": {
"200": {
"description": "200 response"
}
},
"x-amazon-apigateway-integration": {
"uri": {
"Fn::Sub": "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${SAMLamGET.Arn}/invocations"
},
"responses": {
"default": {
"statusCode": "200"
}
},
"httpMethod": "POST",
"type": "aws"
}
},
"post": {
"produces": ["application/json"],
"responses": {
"200": {
"description": "200 response"
}
},
"x-amazon-apigateway-integration": {
"uri": {
"Fn::Sub": "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${SAMLamPOST.Arn}/invocations"
},
"responses": {
"default": {
"statusCode": "200"
}
},
"httpMethod": "POST",
"type": "aws"
}
}
}
}
}