OpenAPI · Schema

OpenAPI Operation Object

Describes a single API operation on a path.

DocumentationRESTSpecification

Properties

Name Type Description
tags array A list of tags for API documentation control.
summary string A short summary of what the operation does.
description string A verbose explanation of the operation behavior.
externalDocs object
operationId string Unique string used to identify the operation.
parameters array A list of parameters applicable for this operation.
requestBody object
responses object
callbacks object A map of possible out-of-band callbacks related to the operation.
deprecated boolean Declares this operation to be deprecated.
security array Security mechanisms applicable for this operation.
servers array Alternative servers to service this operation.
View JSON Schema on GitHub

JSON Schema

openapi-operation.json Raw ↑
{
  "$id": "openapi-operation.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OpenAPI Operation Object",
  "description": "Describes a single API operation on a path.",
  "type": "object",
  "properties": {
    "tags": {
      "type": "array",
      "description": "A list of tags for API documentation control.",
      "items": {
        "type": "string"
      }
    },
    "summary": {
      "type": "string",
      "description": "A short summary of what the operation does."
    },
    "description": {
      "type": "string",
      "description": "A verbose explanation of the operation behavior."
    },
    "externalDocs": {
      "$ref": "openapi-external-documentation.json"
    },
    "operationId": {
      "type": "string",
      "description": "Unique string used to identify the operation."
    },
    "parameters": {
      "type": "array",
      "description": "A list of parameters applicable for this operation.",
      "items": {
        "$ref": "openapi-parameter.json"
      }
    },
    "requestBody": {
      "$ref": "openapi-request-body.json"
    },
    "responses": {
      "$ref": "openapi-responses.json"
    },
    "callbacks": {
      "type": "object",
      "description": "A map of possible out-of-band callbacks related to the operation.",
      "additionalProperties": {
        "$ref": "openapi-path-item.json"
      }
    },
    "deprecated": {
      "type": "boolean",
      "description": "Declares this operation to be deprecated.",
      "default": false
    },
    "security": {
      "type": "array",
      "description": "Security mechanisms applicable for this operation.",
      "items": {
        "$ref": "openapi-security-requirement.json"
      }
    },
    "servers": {
      "type": "array",
      "description": "Alternative servers to service this operation.",
      "items": {
        "$ref": "openapi-server.json"
      }
    }
  },
  "patternProperties": {
    "^x-": {}
  },
  "additionalProperties": false
}

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/openapi-operation"
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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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