WSO2 · Schema

Gateway Policy Mappings

GatewayPolicyMappings schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
id string
policyMapping object
description string A brief description about the policy mapping
displayName string Meaningful name to identify the policy mapping
appliedGatewayLabels array
View JSON Schema on GitHub

JSON Schema

publisher-api-gateway-policy-mappings-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/publisher-api-gateway-policy-mappings-schema.json",
  "title": "Gateway Policy Mappings",
  "description": "GatewayPolicyMappings schema from WSO2 API Manager",
  "type": "object",
  "required": [
    "policyMapping",
    "displayName"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "121223q41-24141-124124124-12414"
    },
    "policyMapping": {
      "$ref": "#/components/schemas/APIOperationPolicies"
    },
    "description": {
      "type": "string",
      "description": "A brief description about the policy mapping",
      "example": "Set header value to the request with item type and response header set with served server name"
    },
    "displayName": {
      "type": "string",
      "description": "Meaningful name to identify the policy mapping",
      "example": "item_type_setter"
    },
    "appliedGatewayLabels": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "gatewayLabel_1"
      }
    }
  }
}