Ubicloud · API Governance Rules

Ubicloud API Rules

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

4 Rules error 4
Published by Ubicloud Served by the provider at https://github.com/ubicloud/ubicloud/blob/33a6864a3236158c3e5e59dffd35ead66a5bd1d7/openapi/.spectral.yml; the copy below was fetched from there.
View Rules File View on GitHub

Rule Categories

additional default responses schemas

Rules

error
additional-properties-with-properties
Any element with properties also has additionalProperties false
$..[?(@ && @.properties)]
error
responses-required-with-properties
Any responses schema with properties also has required array
$.paths..responses..[?(@ && @.properties)]
error
schemas-required-with-properties
Any components/schemas schema with properties also has required array
$.components.schemas..[?(@ && @.properties)]
error
default-for-responses
Responses have default value `$ref: '#/components/responses/Error'`
$.paths[*][*][responses]

Spectral Ruleset

Raw ↑
# harvested from https://github.com/ubicloud/ubicloud/blob/33a6864a3236158c3e5e59dffd35ead66a5bd1d7/openapi/.spectral.yml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (ubicloud/ubicloud); found by GitHub code search, fetched verbatim
x-method: harvested
x-stamped: 2026-10-09
x-source-url: https://github.com/ubicloud/ubicloud/blob/33a6864a3236158c3e5e59dffd35ead66a5bd1d7/openapi/.spectral.yml
extends: ["spectral:oas"]
rules:
  operation-description: off
  additional-properties-with-properties:
    description: "Any element with properties also has additionalProperties false"
    given: $..[?(@ && @.properties)]
    severity: error
    then:
      - field: additionalProperties
        function: defined
      - field: additionalProperties
        function: falsy
  responses-required-with-properties:
    description: "Any responses schema with properties also has required array"
    given: $.paths..responses..[?(@ && @.properties)]
    severity: error
    then:
      - field: required
        function: schema
        functionOptions:
          schema:
            type: array
            items:
              type: string
  schemas-required-with-properties:
    description: "Any components/schemas schema with properties also has required array"
    given: $.components.schemas..[?(@ && @.properties)]
    severity: error
    then:
      - field: required
        function: schema
        functionOptions:
          schema:
            type: array
            items:
              type: string
  default-for-responses:
    description: "Responses have default value `$ref: '#/components/responses/Error'`"
    given: $.paths[*][*][responses]
    severity: error
    then:
      field: default
      function: schema
      functionOptions:
        schema:
          $ref: '#/components/responses/Error'

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/ubicloud-ubicloud-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.