SSO · API Governance Rules
SSO API Rules
Spectral linting rules defining API design standards and conventions for SSO.
10 Rules
error 3
warn 7
Rule Categories
sso
Rules
warn
sso-operation-summaries-title-case
All SSO API operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
error
sso-security-scheme-defined
SSO APIs must define security schemes
$.components
warn
sso-paths-must-have-summary
All SSO API operations must have a summary
$.paths[*][get,post,put,patch,delete]
warn
sso-paths-kebab-case
SSO API paths should use kebab-case
$.paths[*]~
error
sso-operations-must-have-operationid
All SSO API operations must have an operationId
$.paths[*][get,post,put,patch,delete]
warn
sso-operationid-camel-case
SSO API operationIds must use camelCase
$.paths[*][get,post,put,patch,delete].operationId
warn
sso-response-200-or-2xx
SSO API operations should define at least one 2xx response
$.paths[*][get,post,put,patch,delete].responses
warn
sso-tags-must-be-defined
All tags used in operations must be defined in the global tags list
$.paths[*][get,post,put,patch,delete].tags[*]
warn
sso-info-contact
SSO API specs must include contact information
$.info
error
sso-servers-defined
SSO API specs must define at least one server
$