jessealva commented on a change in pull request #2966: WIP: Path parameter
support for API GW
URL:
https://github.com/apache/incubator-openwhisk/pull/2966#discussion_r161806813
##########
File path: tests/src/test/scala/whisk/core/cli/test/ApiGwRestTests.scala
##########
@@ -245,4 +248,48 @@ class ApiGwRestTests extends ApiGwTests {
rr.stderr should include("A valid auth key is required")
}
+ behavior of "Wsk rest api creation with path parameters with swagger"
Review comment:
So it kinda can, but id have to add logic to tell whether the output is JSON
(from REST) or 2 lines of text (from CLI). It was cleaner just to put it here
as the logic is tied to the JSON thats returned when doing a create, which we
then have to parse to validate. This output is completely different when
running via the CLI.
----------------------------------------------------------------
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