Apigee · Schema

ApiSpec

A machine-readable API specification.

Advanced API SecurityAgentic AIAnalyticsAPI GatewayAPI GovernanceAPI HubAPI ManagementDeveloper PortalEnterpriseGenerative AIHybridIntegrationsMicroservicesMCPModel Context ProtocolMonetization

Properties

Name Type Description
name string Output only. Resource name of the spec.
displayName string Required. Display name for the spec.
description string Description of the specification.
specType object
contents object The spec contents.
documentation object
sourceUri string URI of the original spec source.
parsingMode string Parsing mode for the specification.
lintResponse object
attributes object Custom attributes associated with this spec.
createTime string Output only. Time the spec was created.
updateTime string Output only. Time the spec was last updated.
View JSON Schema on GitHub

JSON Schema

apigee-apispec-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ApiSpec",
  "title": "ApiSpec",
  "type": "object",
  "description": "A machine-readable API specification.",
  "properties": {
    "name": {
      "type": "string",
      "description": "Output only. Resource name of the spec.",
      "readOnly": true
    },
    "displayName": {
      "type": "string",
      "description": "Required. Display name for the spec."
    },
    "description": {
      "type": "string",
      "description": "Description of the specification."
    },
    "specType": {
      "$ref": "#/components/schemas/AttributeValues"
    },
    "contents": {
      "type": "object",
      "description": "The spec contents.",
      "properties": {
        "contents": {
          "type": "string",
          "format": "byte",
          "description": "The spec content as bytes."
        },
        "mimeType": {
          "type": "string",
          "description": "MIME type of the content."
        }
      }
    },
    "documentation": {
      "$ref": "#/components/schemas/Documentation"
    },
    "sourceUri": {
      "type": "string",
      "description": "URI of the original spec source."
    },
    "parsingMode": {
      "type": "string",
      "description": "Parsing mode for the specification.",
      "enum": [
        "PARSING_MODE_UNSPECIFIED",
        "RELAXED",
        "STRICT"
      ]
    },
    "lintResponse": {
      "$ref": "#/components/schemas/LintResponse"
    },
    "attributes": {
      "type": "object",
      "description": "Custom attributes associated with this spec.",
      "additionalProperties": {
        "$ref": "#/components/schemas/AttributeValues"
      }
    },
    "createTime": {
      "type": "string",
      "format": "date-time",
      "description": "Output only. Time the spec was created.",
      "readOnly": true
    },
    "updateTime": {
      "type": "string",
      "format": "date-time",
      "description": "Output only. Time the spec was last updated.",
      "readOnly": true
    }
  }
}