Amazon API Gateway · Schema

MethodResponse

GatewayHTTP APIREST APIServerlessWebSocket

Properties

Name Type Description
statusCode string The method response's status code.
responseParameters object
responseModels object
View JSON Schema on GitHub

JSON Schema

amazon-api-gateway-methodresponse-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "MethodResponse",
  "type": "object",
  "properties": {
    "statusCode": {
      "type": "string",
      "description": "The method response's status code."
    },
    "responseParameters": {
      "type": "object"
    },
    "responseModels": {
      "type": "object"
    }
  }
}