WSO2 · Schema

OpenAPI Definition Validation Response

OpenAPIDefinitionValidationResponse 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.
content string OpenAPI definition content.
info object API definition information
errors array If there are more than one error list them out. For example, list out validation errors by each field.
View JSON Schema on GitHub

JSON Schema

publisher-api-open-api-definition-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-open-api-definition-validation-response-schema.json",
  "title": "OpenAPI Definition Validation Response",
  "description": "OpenAPIDefinitionValidationResponse schema from WSO2 API Manager",
  "required": [
    "isValid"
  ],
  "type": "object",
  "properties": {
    "isValid": {
      "type": "boolean",
      "description": "This attribute declares whether this definition is valid or not.\n",
      "example": true
    },
    "content": {
      "type": "string",
      "description": "OpenAPI definition content.\n"
    },
    "info": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "example": "PetStore"
        },
        "version": {
          "type": "string",
          "example": "1.0.0"
        },
        "context": {
          "type": "string",
          "example": "/petstore"
        },
        "description": {
          "type": "string",
          "example": "A sample API that uses a petstore as an example to demonstrate swagger-2.0 specification"
        },
        "openAPIVersion": {
          "type": "string",
          "example": "3.0.0"
        },
        "endpoints": {
          "type": "array",
          "description": "contains host/servers specified in the OpenAPI file/URL\n",
          "items": {
            "type": "string",
            "example": "https://localhost:9443/am/sample/pizzashack/v3/api/"
          }
        },
        "operations": {
          "type": "array",
          "description": "contains operations specified in the OpenAPI file/URL\n",
          "items": {
            "$ref": "#/components/schemas/APIOperations"
          }
        }
      },
      "description": "API definition information\n"
    },
    "errors": {
      "type": "array",
      "description": "If there are more than one error list them out.\nFor example, list out validation errors by each field.\n",
      "items": {
        "$ref": "#/components/schemas/ErrorListItem"
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/publisher-api-open-api-definition-validation-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.