SSL/TLS · API Governance Rules
SSL/TLS API Rules
Spectral linting rules defining API design standards and conventions for SSL/TLS.
7 Rules
error 3
warn 4
Rule Categories
ssl
Rules
warn
ssl-tls-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
ssl-tls-operationid-camel-case
operationId must use camelCase
$.paths[*][*].operationId
error
ssl-tls-tags-required
Every operation must have at least one tag
$.paths[*][*]
warn
ssl-tls-description-required
All operations must have a description
$.paths[*][*].description
error
ssl-tls-certificates-require-auth
Certificate management operations must require authentication
$.paths[*/certificates*][post,delete]
warn
ssl-tls-date-fields-format
Date fields in schemas should use date-time format
$.components.schemas[*].properties[?(@.name =~ /(At|Before|After|Date|Expiry)$/)]
error
ssl-tls-response-success-defined
All operations must define at least one success response
$.paths[*][*].responses