Wufoo · API Governance Rules

Wufoo API Rules

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

7 Rules error 4 warn 2 info 1
View Rules File View on GitHub

Rule Categories

wufoo

Rules

error
wufoo-info-contact
Info object MUST include contact name and url.
$.info
error
wufoo-operation-id-camelcase
operationId MUST be camelCase.
$.paths.*.*.operationId
warn
wufoo-summary-title-case
Operation summary SHOULD be Title Case (each word capitalized).
$.paths.*.*.summary
error
wufoo-tags-title-case
Tags MUST be Title Case.
$.tags[*].name
warn
wufoo-format-path-param
Every path MUST end in a {format} extension parameter.
$.paths
error
wufoo-basic-auth-only
Security scheme MUST be HTTP Basic Auth.
$.components.securitySchemes.*
info
wufoo-response-envelope
GET list responses SHOULD wrap collections in a top-level envelope (Forms/Entries/Reports/etc).
$.paths.*.get.responses.200.content.application/json.schema

Spectral Ruleset

Raw ↑
extends:
  - spectral:oas

rules:
  wufoo-info-contact:
    description: Info object MUST include contact name and url.
    given: $.info
    severity: error
    then:
      - field: contact.name
        function: truthy
      - field: contact.url
        function: truthy

  wufoo-operation-id-camelcase:
    description: operationId MUST be camelCase.
    given: $.paths.*.*.operationId
    severity: error
    then:
      function: pattern
      functionOptions:
        match: '^[a-z][a-zA-Z0-9]+$'

  wufoo-summary-title-case:
    description: Operation summary SHOULD be Title Case (each word capitalized).
    given: $.paths.*.*.summary
    severity: warn
    then:
      function: pattern
      functionOptions:
        match: '^([A-Z][a-zA-Z0-9]*)(\s+(For|And|Or|To|Of|In|On|By|A|An|The|[A-Z][a-zA-Z0-9]*))*$'

  wufoo-tags-title-case:
    description: Tags MUST be Title Case.
    given: $.tags[*].name
    severity: error
    then:
      function: pattern
      functionOptions:
        match: '^[A-Z][a-zA-Z]*$'

  wufoo-format-path-param:
    description: Every path MUST end in a {format} extension parameter.
    given: $.paths
    severity: warn
    then:
      function: pattern
      functionOptions:
        match: '\.\{format\}$'
        field: '@key'

  wufoo-basic-auth-only:
    description: Security scheme MUST be HTTP Basic Auth.
    given: $.components.securitySchemes.*
    severity: error
    then:
      - field: type
        function: enumeration
        functionOptions:
          values: [http]
      - field: scheme
        function: enumeration
        functionOptions:
          values: [basic]

  wufoo-response-envelope:
    description: GET list responses SHOULD wrap collections in a top-level envelope (Forms/Entries/Reports/etc).
    given: $.paths.*.get.responses.200.content.application/json.schema
    severity: info
    then:
      function: truthy

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/wufoo-rest-v3-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.