Salesforce Flow · API Governance Rules
Salesforce Flow API Rules
Spectral linting rules defining API design standards and conventions for Salesforce Flow.
10 Rules
error 5
warn 4
info 1
Rule Categories
salesforce
Rules
warn
salesforce-flow-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
salesforce-flow-operation-id-camel-case
OperationIds must use camelCase
$.paths[*][*].operationId
warn
salesforce-flow-tags-title-case
All tags must use Title Case
$.paths[*][*].tags[*]
error
salesforce-flow-response-200-description
All 200 responses must have a description
$.paths[*][*].responses['200']
info
salesforce-flow-path-kebab-case
Path segments must use kebab-case or standard Salesforce sObject naming
$.paths[*]~
warn
salesforce-flow-required-fields-documented
Request body schemas should document required fields
$.paths[*][post,put,patch].requestBody.content['application/json'].schema
error
salesforce-flow-contact-info-required
API must have contact information
$.info
error
salesforce-flow-version-present
API must have a version
$.info
error
salesforce-flow-servers-defined
API must define at least one server
$
error
salesforce-flow-security-defined
API must define security schemes
$
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-flow-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.