dubeejw commented on a change in pull request #170: WIP: Initial code checkin 
for path parameter support
URL: 
https://github.com/apache/incubator-openwhisk-cli/pull/170#discussion_r164613195
 
 

 ##########
 File path: commands/api.go
 ##########
 @@ -93,6 +93,22 @@ func isValidRelpath(relpath string) (error, bool) {
        return nil, true
 }
 
+func hasPathParameters(path string) bool {
+       return (strings.Count(path, "{") > 0) || (strings.Count(path, "}") > 0)
 
 Review comment:
   Is `path` just JSON?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to