Type object
Schema URL https://catalog.lintel.tools/schemas/schemastore/dwp-exchange-gateway/_shared/latest--route-schema.json
Parent schema dwp-exchange-gateway
Type: object

Properties

host string | string[] required
consumer_path string | string[] required
http_methods string required

A list of HTTP methods that match this Route

pattern=^((?:GET|POST|PUT|HEAD|DELETE|CONNECT|OPTIONS|PATCH|TRACE),?\s?)+$
permitted_consumers string[]
uniqueItems=true
protocols string[]

A list of the protocols this Route should allow

strip_path boolean

When matching a Route via one of the paths, strip the matching prefix from the upstream request URL

path_handling string

Controls how the Service path, Route path and requested path are combined when sending a request to the upstream

Values: "v0" "v1"
preserve_host boolean

When matching a Route via one of the hosts domain names, use the request Host header in the upstream request headers

https_redirect_status_code integer

The status code Kong responds with when all properties of a Route match except the protocol

regex_priority integer

A number used to choose which route resolves a given request when several routes match it using regexes simultaneously

min=0
request_buffering boolean

Whether to enable request body buffering or not

response_buffering boolean

Whether to enable response body buffering or not

headers object