From cba67e9a8c25dfcbf2e850cc5183ba81ef5684c9 Mon Sep 17 00:00:00 2001 From: John Blum Date: Fri, 21 Feb 2020 15:42:00 -0800 Subject: [PATCH] Escape the REST API HTTP URL variable syntax. --- .../src/docs/asciidoc/guides/caching-inline.adoc | 8 ++++---- .../src/docs/asciidoc/guides/caching-look-aside.adoc | 6 +++--- .../src/docs/asciidoc/guides/getting-started.adoc | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc b/spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc index 5689e472..68ffee71 100644 --- a/spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc +++ b/spring-geode-docs/src/docs/asciidoc/guides/caching-inline.adoc @@ -438,10 +438,10 @@ containing the following web service endpoints: |=== | REST API call | Description -| / | Returns the home page. Defaults to `/ping`. -| /ping | Heartbeat endpoint returning "PONG". -| /calculator/factorial/{number} | Computes the _factorial_ of the `number`. -| /calculator/sqrt/{number} | Computes the _square root_ of the `number`. +| `/` | Returns the home page. Defaults to `/ping`. +| `/ping` | Heartbeat endpoint returning "PONG". +| `/calculator/factorial/\{number}` | Computes the _factorial_ of the `number`. +| `/calculator/sqrt/\{number}` | Computes the _square root_ of the `number`. |=== diff --git a/spring-geode-docs/src/docs/asciidoc/guides/caching-look-aside.adoc b/spring-geode-docs/src/docs/asciidoc/guides/caching-look-aside.adoc index 0d9db4a1..c01b33e8 100644 --- a/spring-geode-docs/src/docs/asciidoc/guides/caching-look-aside.adoc +++ b/spring-geode-docs/src/docs/asciidoc/guides/caching-look-aside.adoc @@ -219,9 +219,9 @@ endpoints, accessible by URL using HTTP: | URL | Description | `/ping` | Heartbeat request to test that our application is alive and running. -| `/counter/{name}` | Increments the "named" counter. -| `/counter/{name}/cached` | Returns the current, cached count for the "named" counter. -| `/counter/{name}/reset` | Resets the count for the "named" counter. +| `/counter/\{name}` | Increments the "named" counter. +| `/counter/\{name}/cached` | Returns the current, cached count for the "named" counter. +| `/counter/\{name}/reset` | Resets the count for the "named" counter. |=== diff --git a/spring-geode-docs/src/docs/asciidoc/guides/getting-started.adoc b/spring-geode-docs/src/docs/asciidoc/guides/getting-started.adoc index a4f36f0a..4269641c 100644 --- a/spring-geode-docs/src/docs/asciidoc/guides/getting-started.adoc +++ b/spring-geode-docs/src/docs/asciidoc/guides/getting-started.adoc @@ -714,7 +714,7 @@ for accessing the CRM application via a Web client (e.g. Web browser). | GET `/home` | Returns description of the application. | GET `/ping` | Heartbeat request to test that the application is alive and running. | GET `/customers` | Returns a list of all Customers. -| GET `/customers/{name}` | Returns the named Customer. +| GET `/customers/\{name}` | Returns the named Customer. | POST `/customers` | Accepts JSON and creates a new Customer. |===