Spring Framework · API Governance Rules
Spring Framework API Rules
Spectral linting rules defining API design standards and conventions for Spring Framework.
6 Rules
error 2
warn 3
info 1
Rule Categories
spring
Rules
error
spring-framework-operation-id-required
All operations must have a unique operationId
$.paths[*][get,post,put,patch,delete]
warn
spring-framework-tags-required
All operations must have tags
$.paths[*][get,post,put,patch,delete]
warn
spring-framework-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
spring-framework-api-versioning
Servers should define a base URL
$
error
spring-framework-response-200
GET operations should have a 200 response
$.paths[*].get
info
spring-framework-no-empty-descriptions
Operations and parameters should have descriptions
$.paths[*][*]