Limble CMMS · API Governance Rules

Limble CMMS API Rules

Spectral linting rules defining API design standards and conventions for Limble CMMS.

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

Rule Categories

limble

Rules

warn
limble-operation-tags
Every operation should have at least one tag for grouping in docs.
$.paths[*][get,post,patch,put,delete]
warn
limble-operation-summary
Every operation should have a summary for clarity.
$.paths[*][get,post,patch,put,delete]
error
limble-response-200-or-201
Every operation must define at least one success response (200 or 201).
$.paths[*][get,post,patch,put,delete].responses
warn
limble-id-field-integer
Limble resource ID fields (e.g. assetID, taskID, partID) should be typed as integer to match the API's convention.
$.components.schemas[*].properties[*ID]
warn
limble-basic-auth-security
Limble API uses HTTP Basic authentication; every operation should either inherit the global security scheme or declare it explicitly.
$.components.securitySchemes
info
limble-pagination-params
Collection GET endpoints (listing resources) should support pagination parameters (page, limit or offset) to allow clients to page through large result sets.
$.paths[*].get.parameters[*]
info
limble-location-header-on-create
POST operations that return 201 Created should include a Location response header pointing to the new resource, per the Limble API convention.
$.paths[*].post.responses.201.headers

Spectral Ruleset

Raw ↑
formats:
  - oas3

rules:
  limble-operation-tags:
    description: Every operation should have at least one tag for grouping in docs.
    message: "Operation '{{property}}' is missing tags."
    severity: warn
    given: "$.paths[*][get,post,patch,put,delete]"
    then:
      field: tags
      function: truthy

  limble-operation-summary:
    description: Every operation should have a summary for clarity.
    message: "Operation is missing a summary."
    severity: warn
    given: "$.paths[*][get,post,patch,put,delete]"
    then:
      field: summary
      function: truthy

  limble-response-200-or-201:
    description: Every operation must define at least one success response (200 or 201).
    message: "Operation must define a 200 or 201 response."
    severity: error
    given: "$.paths[*][get,post,patch,put,delete].responses"
    then:
      function: schema
      functionOptions:
        schema:
          anyOf:
            - required: ["200"]
            - required: ["201"]

  limble-id-field-integer:
    description: >-
      Limble resource ID fields (e.g. assetID, taskID, partID) should be typed
      as integer to match the API's convention.
    message: "ID field '{{property}}' should be type integer."
    severity: warn
    given: "$.components.schemas[*].properties[*ID]"
    then:
      field: type
      function: enumeration
      functionOptions:
        values:
          - integer

  limble-basic-auth-security:
    description: >-
      Limble API uses HTTP Basic authentication; every operation should either
      inherit the global security scheme or declare it explicitly.
    message: "API should declare a BasicAuth security scheme."
    severity: warn
    given: "$.components.securitySchemes"
    then:
      function: truthy

  limble-pagination-params:
    description: >-
      Collection GET endpoints (listing resources) should support pagination
      parameters (page, limit or offset) to allow clients to page through large
      result sets.
    message: "Collection GET endpoint appears to be missing pagination query parameters."
    severity: info
    given: "$.paths[*].get.parameters[*]"
    then:
      field: name
      function: pattern
      functionOptions:
        match: "^(page|limit|offset|pageSize|per_page)$"

  limble-location-header-on-create:
    description: >-
      POST operations that return 201 Created should include a Location response
      header pointing to the new resource, per the Limble API convention.
    message: "POST 201 response should define a Location header."
    severity: info
    given: "$.paths[*].post.responses.201.headers"
    then:
      field: Location
      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/limble-cmms-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.