Spring Framework · API Governance Rules
Spring Framework API Rules
Spectral linting rules defining API design standards and conventions for Spring Framework.
11 Rules
error 2
warn 8
info 1
Rule Categories
spring
Rules
info
spring-actuator-content-type
Spring Boot Actuator endpoints should support the vendor media type
$.paths['/health'][get].responses['200'].content
error
spring-operation-id-required
All operations must have an operationId
$.paths[*][*]
warn
spring-operation-id-camel-case
Operation IDs should use camelCase
$.paths[*][*].operationId
warn
spring-operation-summary-required
All operations must have a summary
$.paths[*][*]
warn
spring-operation-summary-title-case
Operation summaries should use Title Case
$.paths[*][*].summary
warn
spring-operation-description-required
All operations should have a description
$.paths[*][*]
warn
spring-operation-tags-required
All operations should have tags
$.paths[*][*]
warn
spring-tags-title-case
All tags must use Title Case
$.tags[*].name
warn
spring-security-scheme-defined
Spring APIs should define security schemes when authentication is used
$.components
error
spring-success-response-required
Operations must define at least one 2xx response
$.paths[*][*].responses
warn
spring-path-param-described
Path parameters should have descriptions
$.paths[*][*].parameters[?(@.in == 'path')]
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-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.