You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/05 07:13:46 UTC

[GitHub] daisy-ycguo opened a new issue #438: Review apis in the specification

daisy-ycguo opened a new issue #438: Review apis in the specification
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/438
 
 
   In the specification, there is a full grammar sample of `apis`(Refer to below). According to the codes and according to the simple grammar sample of `apis`, I think `path` is not an element under `apis`. `path` should be a sub element under `basepath`.
   ```
   apis:
     book-club:
     description: Book Club
     basepath: /club
     path: /books
     actions:
       getBooks:
         verb: get
       postBooks:
         verb: post
       putBooks:
         verb: put
       deleteBooks:
         verb: delete
   ```
   ```
   apis:
     book-club:
       club:
         books:
           getBooks: get
           postBooks: post
           putBooks: put
           deleteBooks: delete
   ```
 
----------------------------------------------------------------
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