HyperDX · API Governance Rules

HyperDX — hyperdx rules

Spectral linting rules defining API design standards and conventions for HyperDX.

2 Rules error 2
Published by HyperDX Served by the provider at https://github.com/hyperdxio/hyperdx/blob/398270105758da5a2724906749886a0a0587a177/packages/api/.spectral.yaml; the copy below was fetched from there.
View Rules File View on GitHub

Rule Categories

component

Rules

error
component-schema-property-description
Schema properties must have a description.
$.components.schemas[*].properties[*]
error
component-schema-property-example
String schema properties should have an example value.
$.components.schemas[*].properties[?(@.type=='string')]

Spectral Ruleset

Raw ↑
# harvested from https://github.com/hyperdxio/hyperdx/blob/398270105758da5a2724906749886a0a0587a177/packages/api/.spectral.yaml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (hyperdxio/hyperdx); found by GitHub code search, fetched verbatim
x-method: harvested
x-stamped: 2026-10-09
x-source-url: https://github.com/hyperdxio/hyperdx/blob/398270105758da5a2724906749886a0a0587a177/packages/api/.spectral.yaml
extends:
  - spectral:oas

rules:
  # Require operation IDs on all endpoints
  operation-operationId: error

  # Require descriptions on operations
  operation-description: error

  # Require tags on operations
  operation-tags: error

  # Require a description in the info object
  info-description: error

  # Ensure info object has contact information
  info-contact: off

  # Ensure info object has a license
  info-license: off

  # Disabled: swagger-jsdoc generates $ref with sibling properties (description,
  # example, etc.), which is invalid in OAS 3.0 but a known tooling limitation.
  no-$ref-siblings: off

  # Require descriptions on schema properties. Uses resolved: false so that
  # properties with $ref + description siblings are evaluated before $ref
  # resolution drops the sibling description.
  component-schema-property-description:
    description: Schema properties must have a description.
    given: $.components.schemas[*].properties[*]
    severity: error
    resolved: false
    then:
      field: description
      function: truthy

  # Error when string schema properties are missing an example value
  component-schema-property-example:
    description: String schema properties should have an example value.
    given: $.components.schemas[*].properties[?(@.type=='string')]
    severity: error
    resolved: false
    then:
      field: example
      function: defined

Work with this as data

Every ruleset 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 spectral rules

4 MCP tools reach this
  • find_rulesBrowse and filter every ruleset 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 ruleset
curl "https://apis.io/api/v1/rules/hyperdx-hyperdx-spectral-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?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.