From 2ae1eeaa165ab358cc1a1cbdf1a2da60ed498192 Mon Sep 17 00:00:00 2001 From: Guido Lena Cota Date: Sat, 3 Nov 2018 18:09:01 +0100 Subject: [PATCH] Minor changes to the wording --- docs/src/main/asciidoc/spring-cloud-gateway.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-gateway.adoc b/docs/src/main/asciidoc/spring-cloud-gateway.adoc index 19b5615c..7427db97 100644 --- a/docs/src/main/asciidoc/spring-cloud-gateway.adoc +++ b/docs/src/main/asciidoc/spring-cloud-gateway.adoc @@ -1125,7 +1125,7 @@ To retrieve the <> applied to r } ---- -The response contains details of the GatewayFilter factories applied to any particular route. For each factory is provided the string representation of the corresponding object (e.g., `[SecureHeadersGatewayFilterFactory@fceab5d configClass = Object]`). Note that the `null` value is due to an imperfect implementation of the endpoint controller, for that it tries to set the order of the object in the filter chain, which is an information that does not apply to GatewayFilter factories. +The response contains details of the GatewayFilter factories applied to any particular route. For each factory is provided the string representation of the corresponding object (e.g., `[SecureHeadersGatewayFilterFactory@fceab5d configClass = Object]`). Note that the `null` value is due to an incomplete implementation of the endpoint controller, for that it tries to set the order of the object in the filter chain, which does not apply to a GatewayFilter factory object. === Refreshing the route cache To clear the routes cache, make a `POST` request to `/actuator/gateway/refresh`. The request returns a 200 without response body. @@ -1223,7 +1223,7 @@ The following table describes the structure of the response. |=== === Creating and deleting a particular route -To create a route, make a `POST` request to `/gateway/routes/{id_route_to_create}` with a JSON body that specifies the fields of the route (see previous section). +To create a route, make a `POST` request to `/gateway/routes/{id_route_to_create}` with a JSON body that specifies the fields of the route (see the previous subsection). To delete a route, make a `DELETE` request to `/gateway/routes/{id_route_to_delete}`.