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.  You are referencing the old grammar in 
earlier versions.
   
   The new grammar starting in v0.8.8 appears as follows (and David 
implemented):
   ```
   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:
[email protected]


With regards,
Apache Git Services

Reply via email to