Symantec · API Governance Rules
Symantec API Rules
Spectral linting rules defining API design standards and conventions for Symantec.
7 Rules
warn 6
Rule Categories
symantec
Rules
warn
symantec-bearer-auth
SEPM API must define Bearer authentication scheme
$.components.securitySchemes
warn
symantec-operation-id-camel-case
Operation IDs must use camelCase naming convention
$.paths[*][get,post,put,patch,delete]
warn
symantec-summary-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
warn
symantec-security-required
Non-authentication endpoints must require Bearer token
$.paths[?(@property != '/identity/authenticate')][get,post,put,patch,delete]
warn
symantec-auth-response
All operations must document 401 Unauthorized response
$.paths[*][get,post,put,patch,delete].responses
hint
symantec-pagination-parameters
List endpoints should support pageSize and pageIndex query parameters
$.paths[?(@property.endsWith('s') || @property.endsWith('computers'))].get
warn
symantec-operation-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]