WSO2 · Schema

GraphQL Custom Complexity Info

GraphQLCustomComplexityInfo schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
type string The type found within the schema of the API
field string The field which is found under the type within the schema of the API
complexityValue integer The complexity value allocated for the associated field under the specified type
View JSON Schema on GitHub

JSON Schema

publisher-api-graph-ql-custom-complexity-info-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-graph-ql-custom-complexity-info-schema.json",
  "title": "GraphQL Custom Complexity Info",
  "description": "GraphQLCustomComplexityInfo schema from WSO2 API Manager",
  "required": [
    "complexityValue",
    "field",
    "type"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type found within the schema of the API\n",
      "example": "Country"
    },
    "field": {
      "type": "string",
      "description": "The field which is found under the type within the schema of the API\n",
      "example": "name"
    },
    "complexityValue": {
      "type": "integer",
      "description": "The complexity value allocated for the associated field under the specified type\n",
      "example": 1
    }
  }
}