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:
[email protected]
With regards,
Apache Git Services