{
  "name": "GetApi",
  "plane": "control",
  "terraformEligible": true,
  "protocol": {
    "kind": "cloudJson",
    "target": "CloudGateway.GetApi",
    "service": "gateway"
  },
  "requestBody": "typed",
  "responseBody": "typed",
  "requestSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "apiId": {
        "type": "string"
      }
    },
    "required": [
      "apiId"
    ],
    "title": "GetApiRequest",
    "type": "object"
  },
  "responseSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "definitions": {
      "ProtocolType": {
        "enum": [
          "HTTP",
          "WEBSOCKET"
        ],
        "type": "string"
      }
    },
    "properties": {
      "apiId": {
        "type": "string"
      },
      "description": {
        "type": [
          "string",
          "null"
        ]
      },
      "name": {
        "type": "string"
      },
      "platformHostname": {
        "type": "string"
      },
      "protocolType": {
        "$ref": "#/definitions/ProtocolType"
      },
      "routeSelectionExpression": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "apiId",
      "name",
      "platformHostname",
      "protocolType"
    ],
    "title": "ApiDescription",
    "type": "object"
  }
}
