You must be logged in to view saved presets
This template creates an API Gateway Documentation Part for a specific method and path, along with an API Gateway REST API.
resource "aws_api_gateway_documentation_part" "example" {
location {
method = "GET"
path = "/example"
type = "METHOD"
}
properties = "{"description":"Example description"}"
rest_api_id = aws_api_gateway_rest_api.example.id
}
resource "aws_api_gateway_rest_api" "example" {
name = "example_api"
}