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/02/26 23:32:43 UTC
[GitHub] pritidesai commented on issue #634: Support more complex annotations
pritidesai commented on issue #634: Support more complex annotations
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/634#issuecomment-368689629
This doc [here](https://github.com/apache/incubator-openwhisk/blob/master/docs/annotations.md) specifies different formats of annotations allowed:
```
wsk action create echo echo.js \
-a description 'An action which returns its input. Useful for logging input to enable debug/replay.' \
-a parameters '[{ "required":false, "description": "Any JSON entity" }]' \
-a sampleInput '{ "msg": "Five fuzzy felines"}' \
-a sampleOutput '{ "msg": "Five fuzzy felines"}'
```
----------------------------------------------------------------
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