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 17:23:56 UTC

[GitHub] mrutkows commented on issue #439: api-gateway feature doesn't support full grammar manifest

mrutkows commented on issue #439: api-gateway feature doesn't support full grammar manifest
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/439#issuecomment-327246201
 
 
   @daisy-ycguo we discussed how we changed (simplified) the grammar into asingle grammar in spec. version 0.8.8.
   
   it appears as follows:
   ```
   apis:
     <API name>:                    # descriptive name
       description: <string>        # optional, description
       <basepath>:                  # shared basepath
         <path>: 
            <action name>: get | post | put | delete
            ...
         ...
   ```
   
   and example:
   ```
   apis:
     book-club:
       club:
         books: 
           getBooks: get
           postBooks: post
           putBooks: put
           deleteBooks: delete
         members:
           listMembers: get
   ```
 
----------------------------------------------------------------
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