Amazon API Gateway · Schema

GatewayResponse

GatewayHTTP APIREST APIServerlessWebSocket

Properties

Name Type Description
responseType string
statusCode string
responseParameters object
responseTemplates object
defaultResponse boolean
View JSON Schema on GitHub

JSON Schema

amazon-api-gateway-gatewayresponse-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "GatewayResponse",
  "type": "object",
  "properties": {
    "responseType": {
      "type": "string"
    },
    "statusCode": {
      "type": "string"
    },
    "responseParameters": {
      "type": "object"
    },
    "responseTemplates": {
      "type": "object"
    },
    "defaultResponse": {
      "type": "boolean"
    }
  }
}