Spring Cloud Gateway Route Definition
JSON Schema for a Spring Cloud Gateway RouteDefinition object used in the Actuator API for creating and managing routes.
API GatewayCircuit BreakerLoad BalancingMicroservicesRate LimitingRoutingSpringSpring WebFlux
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/api-evangelist/spring-cloud-gateway/json-schema/spring-cloud-gateway-route-schema.json",
"title": "Spring Cloud Gateway Route Definition",
"description": "JSON Schema for a Spring Cloud Gateway RouteDefinition object used in the Actuator API for creating and managing routes.",
"type": "object",
"required": ["id", "uri", "predicates"],
"properties": {
"id": {
"type": "string",
"description": "Unique route identifier"
},
"uri": {
"type": "string",
"description": "Destination URI for matched requests (e.g., lb://service-name, http://backend:8080)"
},
"predicates": {
"type": "array",
"items": {
"$ref": "#/$defs/PredicateDefinition"
},
"description": "List of predicates that must match for this route to apply"
},
"filters": {
"type": "array",
"items": {
"$ref": "#/$defs/FilterDefinition"
},
"description": "List of gateway filter factories applied to matched requests"
},
"order": {
"type": "integer",
"description": "Route priority order (lower number = higher priority)"
},
"metadata": {
"type": "object",
"additionalProperties": true,
"description": "Additional metadata associated with this route"
}
},
"$defs": {
"PredicateDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Predicate factory name (e.g., Path, Host, Method, Header, Query, Cookie)"
},
"args": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Key-value arguments for the predicate factory"
}
},
"required": ["name"]
},
"FilterDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Filter factory name (e.g., AddRequestHeader, RewritePath, RequestRateLimiter, CircuitBreaker)"
},
"args": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Key-value arguments for the filter factory"
}
},
"required": ["name"]
}
}
}
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
All 92 tools
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/spring-cloud-gateway-route"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no email required.
A second provider on the same verified email joins the account you already have.