Paragon · API Governance Rules

Paragon API Rules

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

8 Rules error 3 warn 5
View Rules File View on GitHub

Rule Categories

paragon

Rules

error
paragon-info-title-prefix
All Paragon OpenAPI specs must have a title starting with "Paragon ".
$.info.title
warn
paragon-info-license-proprietary
License should be marked Proprietary, linking to Terms of Service.
$.info.license
error
paragon-server-cloud
Spec must include the canonical Paragon cloud server URL.
$.servers[*].url
warn
paragon-operation-summary-prefix
Operation summaries must begin with "Paragon ".
$.paths.*[get,post,put,patch,delete].summary
warn
paragon-operation-summary-title-case
Operation summaries must use Title Case (no all-lowercase tokens after the prefix).
$.paths.*[get,post,put,patch,delete].summary
error
paragon-bearer-auth
Paragon APIs authenticate via Bearer User Token (JWT). All paths must be secured.
$.components.securitySchemes
warn
paragon-operation-id-camel
operationId must be lowerCamelCase.
$.paths.*[get,post,put,patch,delete].operationId
warn
paragon-tag-title-case
Tags must use Title Case.
$.tags[*].name

Spectral Ruleset

Raw ↑
extends:
  - spectral:oas
rules:
  paragon-info-title-prefix:
    description: All Paragon OpenAPI specs must have a title starting with "Paragon ".
    severity: error
    given: $.info.title
    then:
      function: pattern
      functionOptions:
        match: '^Paragon '
  paragon-info-license-proprietary:
    description: License should be marked Proprietary, linking to Terms of Service.
    severity: warn
    given: $.info.license
    then:
      - field: name
        function: pattern
        functionOptions:
          match: '^Proprietary$'
      - field: url
        function: pattern
        functionOptions:
          match: '^https://www\.useparagon\.com/terms-of-service$'
  paragon-server-cloud:
    description: Spec must include the canonical Paragon cloud server URL.
    severity: error
    given: $.servers[*].url
    then:
      function: pattern
      functionOptions:
        match: '^https://[a-z\-]+\.useparagon\.com'
  paragon-operation-summary-prefix:
    description: Operation summaries must begin with "Paragon ".
    severity: warn
    given: $.paths.*[get,post,put,patch,delete].summary
    then:
      function: pattern
      functionOptions:
        match: '^Paragon '
  paragon-operation-summary-title-case:
    description: Operation summaries must use Title Case (no all-lowercase tokens after the prefix).
    severity: warn
    given: $.paths.*[get,post,put,patch,delete].summary
    then:
      function: pattern
      functionOptions:
        match: '^Paragon ([A-Z][a-zA-Z0-9]*\s?)+$'
  paragon-bearer-auth:
    description: Paragon APIs authenticate via Bearer User Token (JWT). All paths must be secured.
    severity: error
    given: $.components.securitySchemes
    then:
      function: schema
      functionOptions:
        schema:
          type: object
          required:
            - bearerAuth
  paragon-operation-id-camel:
    description: operationId must be lowerCamelCase.
    severity: warn
    given: $.paths.*[get,post,put,patch,delete].operationId
    then:
      function: pattern
      functionOptions:
        match: '^[a-z][a-zA-Z0-9]*$'
  paragon-tag-title-case:
    description: Tags must use Title Case.
    severity: warn
    given: $.tags[*].name
    then:
      function: pattern
      functionOptions:
        match: '^([A-Z][a-zA-Z0-9]*)( [A-Z][a-zA-Z0-9]*)*$'

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