You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/03 19:01:05 UTC

[GitHub] csantanapr opened a new issue #253: Api v2 management allows swagger config to have basepath and path both set to /

csantanapr opened a new issue #253: Api v2 management allows swagger config to have basepath and path both set to /
URL: https://github.com/apache/incubator-openwhisk-apigateway/issues/253
 
 
   When creating a new api, a swagger is sent to api management with both base path and operation path set to `/`  the API doesn't error out.
   
   To reproduce you should could use the WSK CLI
   ```
   wsk api create / / get myaction
   ```
   ```
   wsk api list -f
   Action: /guest/myaction
     API Name: /
     Base path: /
     Path: /
     Verb: get
     URL: https://service.eu.apiconnect.ibmcloud.com/gws/apigateway/api/123/
   ```
   api management doesn't return error to know that there is an invalid combination to have both base path and operation path set to `/`
 
----------------------------------------------------------------
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