Spring Boot Admin Console · API Governance Rules
Spring Boot Admin Console API Rules
Spectral linting rules defining API design standards and conventions for Spring Boot Admin Console.
8 Rules
error 3
warn 4
info 1
Rule Categories
sba
Rules
error
sba-operationid-required
All Spring Boot Admin API operations must have an operationId.
$.paths[*][get,post,put,delete,patch]
warn
sba-operationid-camelcase
OperationIds must use camelCase.
$.paths[*][get,post,put,delete,patch].operationId
error
sba-tags-required
All operations must have at least one tag.
$.paths[*][get,post,put,delete,patch]
error
sba-get-response-200
All GET operations must define a 200 response.
$.paths[*].get.responses
warn
sba-delete-response-204
DELETE operations should return 204 No Content on success.
$.paths[*].delete.responses
warn
sba-schema-description
All named schemas should have a description.
$.components.schemas[*]
info
sba-instance-id-path-param
Instance ID path parameters should be named 'id'.
$.paths['/instances/{id}'][*].parameters[*]
warn
sba-status-enum-defined
Status fields in response schemas should define an enum of valid values.
$.components.schemas[*].properties.status