Kong · Schema

CreateCatalogResourceMapping

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
service string The `id` or `name` of the service to map the resource to.
resource object
View JSON Schema on GitHub

JSON Schema

kong-createcatalogresourcemapping-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateCatalogResourceMapping",
  "title": "CreateCatalogResourceMapping",
  "type": "object",
  "properties": {
    "service": {
      "description": "The `id` or `name` of the service to map the resource to.",
      "type": "string",
      "example": "user-svc",
      "x-speakeasy-name-override": "service_id"
    },
    "resource": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/CatalogResourceId"
        },
        {
          "$ref": "#/components/schemas/CreateCatalogResourceMappingResourceByConfig"
        }
      ]
    }
  },
  "additionalProperties": false,
  "required": [
    "service",
    "resource"
  ]
}