ApiNotes · Schema

ApiNotes Documentation

Schema representing an API documentation portal generated by ApiNotes from an OpenAPI specification

API ReferenceDeveloper PortalDocumentationInteractiveOpenAPI

Properties

Name Type Description
id string Unique identifier for the documentation portal
name string Name of the API documentation portal
description string Description of the API being documented
specificationUrl string URL of the OpenAPI or Swagger specification used to generate documentation
portalUrl string Public URL of the generated documentation portal
version string API version being documented
languages array Programming languages for which code examples are generated
liveTestingEnabled boolean Whether live endpoint testing is enabled in the portal
createdAt string Timestamp when the documentation was generated
View JSON Schema on GitHub

JSON Schema

apinotes-documentation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apinotes/main/json-schema/apinotes-documentation-schema.json",
  "title": "ApiNotes Documentation",
  "description": "Schema representing an API documentation portal generated by ApiNotes from an OpenAPI specification",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the documentation portal"
    },
    "name": {
      "type": "string",
      "description": "Name of the API documentation portal"
    },
    "description": {
      "type": "string",
      "description": "Description of the API being documented"
    },
    "specificationUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL of the OpenAPI or Swagger specification used to generate documentation"
    },
    "portalUrl": {
      "type": "string",
      "format": "uri",
      "description": "Public URL of the generated documentation portal"
    },
    "version": {
      "type": "string",
      "description": "API version being documented"
    },
    "languages": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Programming languages for which code examples are generated"
    },
    "liveTestingEnabled": {
      "type": "boolean",
      "description": "Whether live endpoint testing is enabled in the portal"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the documentation was generated"
    }
  },
  "required": ["id", "name", "specificationUrl"]
}