jthomas opened a new issue #306: API URL with templated parameters in query 
parameters parsed incorrectly.  
URL: https://github.com/apache/incubator-openwhisk-cli/issues/306
 
 
   User has reported an issue creating an API when including template 
parameters in both path and query URL parameters, e.g.
   
   ```
   wsk api create -n "PersonalDetailsAPI" /getDetails 
/name/{myname}/age/{myage}?id={id} get getNameAction --response-type http -i
   ```
   
   I don't think templates identifers in the query parameters are supported. 
However, the CLI fails to handle this edge case and parse the second path 
parameter incorrectly.
   
   The path parameters in the swagger is created as follows...
   
   ```json
   { "name": "myage}?id={id" }
   ```
   
   Looks like the regex is failing to handle this example. Assume the second 
path parameter should be extracted correctly and anything after ? ignored?

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