WSO2 · Schema

GraphQL API definition validation Response

GraphQLValidationResponse schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
isValid boolean This attribute declares whether this definition is valid or not.
errorMessage string This attribute declares the validation error message
graphQLInfo object Summary of the GraphQL including the basic information
View JSON Schema on GitHub

JSON Schema

publisher-api-graph-ql-validation-response-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-validation-response-schema.json",
  "title": "GraphQL API definition validation Response",
  "description": "GraphQLValidationResponse schema from WSO2 API Manager",
  "required": [
    "errorMessage",
    "isValid"
  ],
  "type": "object",
  "properties": {
    "isValid": {
      "type": "boolean",
      "description": "This attribute declares whether this definition is valid or not.\n",
      "example": true
    },
    "errorMessage": {
      "type": "string",
      "description": "This attribute declares the validation error message\n"
    },
    "graphQLInfo": {
      "type": "object",
      "properties": {
        "operations": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/APIOperations"
          }
        },
        "graphQLSchema": {
          "$ref": "#/components/schemas/GraphQLSchema"
        }
      },
      "description": "Summary of the GraphQL including the basic information"
    }
  }
}