Apache Tomcat · API Governance Rules
Apache Tomcat API Rules
Spectral linting rules defining API design standards and conventions for Apache Tomcat.
7 Rules
error 3
warn 3
info 1
Rule Categories
tomcat
Rules
warn
tomcat-text-plain-responses
Tomcat Manager text API returns text/plain responses
$.paths[/text/*][get,put,post,delete].responses.200.content
error
tomcat-basic-auth
Tomcat Manager requires HTTP Basic authentication
$.components.securitySchemes
error
tomcat-operation-id-required
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
info
tomcat-text-path-prefix
Manager text interface paths should use /text/ prefix
$.paths[*]~
error
tomcat-destructive-operations
Destructive operations must have clear descriptions
$.paths[*][get,put,post,delete]
warn
tomcat-summary-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
warn
tomcat-tags-required
All operations must be tagged
$.paths[*][get,post,put,patch,delete]