Amazon API Gateway · Schema

Method

Method schema from Amazon API Gateway v1 API

API GatewayCloudRESTHTTPWebSocketServerlessMCPAgentCoreDeveloper Portal

Properties

Name Type Description
httpMethod string HTTP method verb.
authorizationType string Authorization type for invoking the method.
apiKeyRequired boolean Whether the method requires an API key.
View JSON Schema on GitHub

JSON Schema

v1-method-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "httpMethod": {
      "type": "string",
      "description": "HTTP method verb.",
      "example": "example-value"
    },
    "authorizationType": {
      "type": "string",
      "description": "Authorization type for invoking the method.",
      "example": "example-value"
    },
    "apiKeyRequired": {
      "type": "boolean",
      "description": "Whether the method requires an API key.",
      "example": true
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/aws-api-gateway/refs/heads/main/json-schema/v1-method-schema.json",
  "title": "Method",
  "description": "Method schema from Amazon API Gateway v1 API"
}