Debian Codegraph @

ansible_collections/amazon/aws/tests/integration/targets/lambda_policy/templates/endpoint-test-swagger-api.yml.j2

raw
1 ---
2 swagger: "2.0"
3 info:
4 version: "2017-05-11T12:14:59Z"
5 title: "{{resource_prefix}}LambdaBased_API"
6 host: "fakeexample.execute-api.us-east-1.amazonaws.com"
7 basePath: "/lambdabased"
8 schemes:
9 - "https"
10 paths:
11 /mini/{greet_name}:
12 get:
13 produces:
14 - "application/json"
15 parameters:
16 - name: "greet_name"
17 in: "path"
18 required: true
19 type: "string"
20 responses:
21 200:
22 description: "200 response"
23 schema:
24 $ref: "#/definitions/Empty"
25 x-amazon-apigateway-integration:
26 responses:
27 default:
28 statusCode: "200"
29 uri: "{{mini_lambda_uri}}"
30 requestTemplates:
31 application/json: "{\"statusCode\": 200}"
32 passthroughBehavior: "when_no_match"
33 httpMethod: "POST"
34 contentHandling: "CONVERT_TO_TEXT"
35 type: "aws_proxy"
36 definitions:
37 Empty:
38 type: "object"
39 title: "Empty Schema"