1
0
Files
terraform.examples/RestApi/restapi-oas30.json
T

57 lines
1.5 KiB
JSON

{
"openapi" : "3.0.1",
"info" : {
"title" : "HelloWorld",
"version" : "2026-03-15T04:22:58Z"
},
"servers" : [ {
"url" : "https://8cti482053.execute-api.ap-east-1.amazonaws.com/{basePath}",
"variables" : {
"basePath" : {
"default" : "test"
}
}
} ],
"paths" : {
"/" : {
"x-amazon-apigateway-any-method" : {
"responses" : {
"200" : {
"description" : "200 response",
"content" : {
"application/json" : {
"schema" : {
"$ref" : "#/components/schemas/Empty"
}
}
}
}
},
"x-amazon-apigateway-integration" : {
"type" : "aws_proxy",
"uri" : "arn:aws:apigateway:ap-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:ap-east-1:040216112220:function:HashWebApp/invocations",
"httpMethod" : "POST",
"responses" : {
"default" : {
"statusCode" : "200"
}
},
"passthroughBehavior" : "when_no_match",
"timeoutInMillis" : 10000,
"responseTransferMode" : "BUFFERED",
"contentHandling" : "CONVERT_TO_TEXT"
}
}
}
},
"components" : {
"schemas" : {
"Empty" : {
"title" : "Empty Schema",
"type" : "object"
}
}
},
"x-amazon-apigateway-security-policy" : "SecurityPolicy_TLS13_1_3_2025_09",
"x-amazon-apigateway-endpoint-access-mode" : "BASIC"
}