Salesforce Service Cloud · API Governance Rules
Salesforce Service Cloud API Rules
Spectral linting rules defining API design standards and conventions for Salesforce Service Cloud.
10 Rules
error 5
warn 4
info 1
Rule Categories
salesforce
Rules
warn
salesforce-svc-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
salesforce-svc-operation-id-camel-case
OperationIds must use camelCase
$.paths[*][*].operationId
warn
salesforce-svc-tags-title-case
All tags must use Title Case
$.paths[*][*].tags[*]
error
salesforce-svc-response-200-description
All 200 responses must have a description
$.paths[*][*].responses['200']
error
salesforce-svc-contact-required
API info must include contact details
$.info
error
salesforce-svc-version-required
API info must include a version
$.info
error
salesforce-svc-servers-required
API must define at least one server
$
error
salesforce-svc-security-defined
API must define security requirements
$
warn
salesforce-svc-case-status-documented
Case status values should be documented in schema
$.components.schemas.Case.properties.Status
info
salesforce-svc-case-id-parameter-defined
Case ID path parameters should be defined in components
$.components.parameters
Spectral Ruleset
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.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/salesforce-service-cloud-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.