SAML · API Governance Rules
SAML API Rules
Spectral linting rules defining API design standards and conventions for SAML.
9 Rules
error 2
warn 5
info 2
Rule Categories
saml
Rules
warn
saml-summary-title-case
Operation summaries must use Title Case per SAML spec naming conventions
$.paths[*][*].summary
info
saml-security-schemes-defined
SAML endpoints require digital signature verification; security schemes should be documented
$.paths[*][*]
warn
saml-samlrequest-parameter
SAML SSO redirect binding GET endpoints must define a SAMLRequest parameter
$.paths['/saml/sso/redirect'].get.parameters[*]
error
saml-relay-state-max-length
RelayState parameter must enforce 80 byte maximum per SAML spec Section 3.4.3
$.paths[*][*].parameters[?(@.name=='RelayState')].schema
warn
saml-response-xml-content-type
SAML XML responses should specify application/xml or text/xml content type
$.paths[*][*].responses[*].content
error
saml-operation-id-required
All operations must have an operationId per SAML API standards
$.paths[*][*]
warn
saml-tags-defined
Operations must use defined tags matching SAML specification domains
$.paths[*][*].tags[*]
warn
saml-parameter-descriptions
All parameters must have descriptions explaining SAML-specific constraints
$.paths[*][*].parameters[*]
info
saml-response-400-defined
SAML endpoints should define 400 Bad Request for malformed SAML messages
$.paths[*][*].responses
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/saml-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.