forked from monken/aws-ecr-public
-
Notifications
You must be signed in to change notification settings - Fork 0
/
api.openapi.yml
44 lines (39 loc) · 962 Bytes
/
api.openapi.yml
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
swagger: '2.0'
info:
version: '1'
title: !Ref AWS::StackName
host: dummy.execute-api.us-east-1.amazonaws.com
basePath: /dummy
schemes: [https]
x-default-request: &request
responses:
200:
description: "200 response"
schema:
$ref: "#/definitions/Empty"
x-amazon-apigateway-request-validator: all
x-amazon-apigateway-integration:
responses:
default:
statusCode: 200
uri: !Sub arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${Lambda.Arn}/invocations
passthroughBehavior: when_no_match
httpMethod: POST
type: aws_proxy
paths:
/:
get:
<<: *request
x-amazon-apigateway-integration:
responses:
default:
statusCode: 200
passthroughBehavior: when_no_match
requestTemplates:
application/json: "{\"statusCode\": 200}"
type: mock
/{proxy+}:
get:
<<: *request
head:
<<: *request