Spring Batch 5.1 · API Governance Rules
Spring Batch 5.1 API Rules
Spectral linting rules defining API design standards and conventions for Spring Batch 5.1.
8 Rules
error 3
warn 4
info 1
Rule Categories
spring
Rules
warn
spring-batch-actuator-path-prefix
All Spring Batch Actuator paths must be prefixed with /actuator or reflect the configured management base path.
$.paths[*]~
error
spring-batch-operation-tags-required
All operations must have at least one tag for grouping in the Batch Actuator API.
$.paths[*][get,post,put,delete,patch]
error
spring-batch-operationid-required
All operations in the Spring Batch Actuator API must have an operationId.
$.paths[*][get,post,put,delete,patch]
warn
spring-batch-operationid-camelcase
OperationIds must use camelCase to match Spring Batch conventions.
$.paths[*][get,post,put,delete,patch].operationId
error
spring-batch-response-200-required
All GET operations must define a 200 response.
$.paths[*].get.responses
warn
spring-batch-schema-description
All named schemas should have a description to support batch domain documentation.
$.components.schemas[*]
info
spring-batch-status-enum
Batch status fields should use the standard Spring Batch status enum values.
$.components.schemas[*].properties.status
warn
spring-batch-pagination-consistency
Paginated responses should include page, size, totalElements, and totalPages.
$.components.schemas[?(@.description =~ /[Pp]aginated/)]
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/spring-batch-51-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.