Kong · Schema

APIPackageJSONPatchItem

A JSON Patch operation to add or remove an API Operation from a Package.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
op string The operation to perform.
path string The path to the API Operation in the Package, in the format "operations/".
value object
View JSON Schema on GitHub

JSON Schema

kong-apipackagejsonpatchitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/APIPackageJSONPatchItem",
  "title": "APIPackageJSONPatchItem",
  "description": "A JSON Patch operation to add or remove an API Operation from a Package.",
  "type": "object",
  "properties": {
    "op": {
      "description": "The operation to perform.",
      "type": "string",
      "enum": [
        "add",
        "remove",
        "replace"
      ],
      "x-speakeasy-unknown-values": "allow"
    },
    "path": {
      "description": "The path to the API Operation in the Package, in the format \"operations/<uuid>\".",
      "type": "string",
      "pattern": "^operations/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"
    },
    "value": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "rate_limiting_config": {
          "$ref": "#/components/schemas/RateLimitingConfig"
        }
      },
      "required": [
        "rate_limiting_config"
      ]
    }
  },
  "additionalProperties": false,
  "required": [
    "op",
    "path"
  ]
}