You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/11/28 21:55:19 UTC
[incubator-openwhisk-client-go] 02/03: Added entry for reference to
path parameters...an operation can have a 'parameters' entry that can be an
object or a reference (a string). Added the name of the reference to the
parameter object which should suffice
This is an automated email from the ASF dual-hosted git repository.
csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-client-go.git
commit 32bd8051b84cc1d128ef1598f07da8bc6af42da1
Author: Jesus G. Alva <ja...@us.ibm.com>
AuthorDate: Mon Nov 27 15:41:33 2017 -0600
Added entry for reference to path parameters...an operation can have a 'parameters' entry that can be an object or a reference (a string). Added the name of the reference to the parameter object which should suffice
---
whisk/api.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/whisk/api.go b/whisk/api.go
index 1238ba3..01a4e66 100644
--- a/whisk/api.go
+++ b/whisk/api.go
@@ -97,6 +97,7 @@ type ApiPathParameter struct {
UniqueItems bool `json:"uniqueItems,omitempty"`
MultipleOf int `json:"multipleOf,omitempty"`
Enum interface{} `json:"enum,omitempty"`
+ Ref string `json:"$ref,omitempty"`
}
type ApiAction struct {
--
To stop receiving notification emails like this one, please contact
"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>.