You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/03/07 23:16:44 UTC

[GitHub] csantanapr closed pull request #3410: Fix typos in api gw doc

csantanapr closed pull request #3410: Fix typos in api gw doc
URL: https://github.com/apache/incubator-openwhisk/pull/3410
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/docs/apigateway.md b/docs/apigateway.md
index be149f2099..49c88bb18d 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
 ```
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services