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/01/10 19:22:23 UTC

[GitHub] mdeuser commented on a change in pull request #56: Add path param support

mdeuser commented on a change in pull request #56: Add path param support
URL: https://github.com/apache/incubator-openwhisk-client-go/pull/56#discussion_r160772036
 
 

 ##########
 File path: whisk/api.go
 ##########
 @@ -146,13 +146,51 @@ type ApiSwagger struct {
     SwaggerName     string    `json:"swagger,omitempty"`
     BasePath        string    `json:"basePath,omitempty"`
     Info            *ApiSwaggerInfo `json:"info,omitempty"`
-    Paths           map[string]map[string]*ApiSwaggerOperation `json:"paths,omitempty"`  // Paths["/a/path"]["get"] -> a generic object
+    Paths           map[string]*ApiSwaggerPath `json:"paths,omitempty"`  // Paths["/a/path"]["get"] -> a generic object
 
 Review comment:
   i think the comment is incorrect.  should be something like
   ```// Paths["/a/path"] -> a path (ApiSwaggerPath) object```

----------------------------------------------------------------
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