This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new ef8b3a4  Fix typos in api gw doc (#3410)
ef8b3a4 is described below

commit ef8b3a4bbf0e845461520c1ac0af1daddc4742e9
Author: Mark Deuser <mdeu...@us.ibm.com>
AuthorDate: Wed Mar 7 18:16:42 2018 -0500

    Fix typos in api gw doc (#3410)
---
 docs/apigateway.md | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/docs/apigateway.md b/docs/apigateway.md
index be149f2..49c88bb 100644
--- a/docs/apigateway.md
+++ b/docs/apigateway.md
@@ -10,7 +10,7 @@ For more information on API Gateway feature you can read the 
[api management doc
 
 ### OpenWhisk CLI configuration
 
-Follow the instructions in [Configure 
CLI](https://github.com/apache/incubator-openwhisk/blob/master/docs/cli.md) on 
how to set the authentication key for your specific namespace.
+Follow the instructions in [Configure 
CLI](./README.md#setting-up-the-openwhisk-cli) on how to set the authentication 
key for your specific namespace.
 
 ### Create your first API using the CLI
 
@@ -46,7 +46,8 @@ Follow the instructions in [Configure 
CLI](https://github.com/apache/incubator-o
   ```
   $ curl 
https://${APIHOST}:9001/api/${GENERATED_API_ID}/hello/world?name=OpenWhisk
   ```
-  ```
+
+  ```json
   {
   "payload": "Hello world OpenWhisk"
   }
@@ -205,15 +206,15 @@ Now let's restore the API named `Book Club` by using the 
file `club-swagger.json
 wsk api create --config-file club-swagger.json
 ```
 ```
-ok: created api /club/books/{isbn} get for action deleteBook
-https://${APIHOST}:9001/api/${GENERATED_API_ID}/club/books
-ok: created api /club/books/{isbn} put for action deleteBook
-https://${APIHOST}:9001/api/${GENERATED_API_ID}/club/books
-ok: created api /club/books/{isbn} delete for action deleteBook
-https://${APIHOST}:9001/api/${GENERATED_API_ID}/club/books
-ok: created api /club/books get for action deleteBook
+ok: created api /club/books/{isbn} get for action getBooks
+https://${APIHOST}:9001/api/${GENERATED_API_ID}/club/books/{isbn}
+ok: created api /club/books/{isbn} put for action putBooks
+https://${APIHOST}:9001/api/${GENERATED_API_ID}/club/books/{isbn}
+ok: created api /club/books/{isbn} delete for action deleteBooks
+https://${APIHOST}:9001/api/${GENERATED_API_ID}/club/books/{isbn}
+ok: created api /club/books get for action getBooks
 https://${APIHOST}:9001/api/${GENERATED_API_ID}/club/books
-ok: created api /club/books post for action deleteBook
+ok: created api /club/books post for action postBooks
 https://${APIHOST}:9001/api/${GENERATED_API_ID}/club/books
 ```
 

-- 
To stop receiving notification emails like this one, please contact
csantan...@apache.org.

Reply via email to