AWS Open API

Below is an OpenAPI 3.0 Specification for the REST Server shown in the quickstart.

To use this in examples, copy the content below to a local JSON file, and import it into the relevant portal.

{
  "openapi" : "3.0.1",
  "info" : {
    "title" : "kxce-rest-api",
    "version" : "2021-02-09 21:49:38UTC"
  },
  "paths" : {
    "/{path+}" : {
      "get" : {
        "responses" : {
          "default" : {
            "description" : "Default response for GET /{path+}"
          }
        },
        "x-amazon-apigateway-integration" : {
          "requestParameters" : {
            "overwrite:header.http-method" : "GET"
          },
          "payloadFormatVersion" : "1.0",
          "type" : "http_proxy",
          "httpMethod" : "GET",
          "uri" : "http://${stageVariables.httpUrl}/{path}",
          "connectionType" : "INTERNET"
        }
      },
      "put" : {
        "responses" : {
          "default" : {
            "description" : "Default response for PUT /{path+}"
          }
        },
        "x-amazon-apigateway-integration" : {
          "requestParameters" : {
            "overwrite:header.http-method" : "PUT"
          },
          "payloadFormatVersion" : "1.0",
          "type" : "http_proxy",
          "httpMethod" : "POST",
          "uri" : "http://${stageVariables.httpUrl}/{path}",
          "connectionType" : "INTERNET"
        }
      },
      "post" : {
        "responses" : {
          "default" : {
            "description" : "Default response for POST /{path+}"
          }
        },
        "x-amazon-apigateway-integration" : {
          "requestParameters" : {
            "overwrite:header.http-method" : "POST"
          },
          "payloadFormatVersion" : "1.0",
          "type" : "http_proxy",
          "httpMethod" : "POST",
          "uri" : "http://${stageVariables.httpUrl}/{path}",
          "connectionType" : "INTERNET"
        }
      },
      "delete" : {
        "responses" : {
          "default" : {
            "description" : "Default response for DELETE /{path+}"
          }
        },
        "x-amazon-apigateway-integration" : {
          "requestParameters" : {
            "overwrite:header.http-method" : "DELETE"
          },
          "payloadFormatVersion" : "1.0",
          "type" : "http_proxy",
          "httpMethod" : "POST",
          "uri" : "http://${stageVariables.httpUrl}/{path}",
          "connectionType" : "INTERNET"
        }
      }
    }
  },
  "x-amazon-apigateway-importexport-version" : "1.0"
}