initial commit
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"openapi" : "3.0.1",
|
||||
|
||||
"paths" : {
|
||||
"/" : {
|
||||
"get" : {
|
||||
"responses" : {
|
||||
"default" : {
|
||||
"description" : "Default response for GET /"
|
||||
}
|
||||
},
|
||||
"security" : [ {
|
||||
"SampleAuthorizer" : [ ]
|
||||
} ],
|
||||
"x-amazon-apigateway-integration" : {
|
||||
"payloadFormatVersion" : "2.0",
|
||||
"type" : "aws_proxy",
|
||||
"httpMethod" : "POST",
|
||||
"uri" : "arn:aws:apigateway:ap-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:ap-east-1:040216112220:function:EchoFunction/invocations",
|
||||
"connectionType" : "INTERNET"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components" : {
|
||||
"securitySchemes" : {
|
||||
"SampleAuthorizer" : {
|
||||
"type" : "apiKey",
|
||||
"name" : "Authorization",
|
||||
"in" : "header",
|
||||
"x-amazon-apigateway-authorizer" : {
|
||||
"identitySource" : "$request.header.Authorization",
|
||||
"authorizerUri" : "arn:aws:apigateway:ap-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:ap-east-1:040216112220:function:SampleAuthorizer/invocations",
|
||||
"authorizerPayloadFormatVersion" : "2.0",
|
||||
"authorizerResultTtlInSeconds" : 0,
|
||||
"type" : "request",
|
||||
"enableSimpleResponses" : true
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-amazon-apigateway-importexport-version" : "1.0"
|
||||
}
|
||||
Reference in New Issue
Block a user