Showing results for 
Search instead for 
Did you mean: 

Save to Azure API Management

Occasional Visitor

Save to Azure API Management


I am using SwaggerHub to integrate to Azure API Management.

Unfortunately SwaggerHub overrides the Web API URL suffix with the basePath (added in swagger).

The basePath for my testing API (used in API Management)should be empty (/).

In API Management I would like to add a version to the WEB API URL (which is the URL used by the subscriber) like /v1/.


So the following example: host:

basePath: /


will be saved in API Management as


Web Service URL :

Web API Url Suffix : / (here I would like to use an version like /v1 which doesn’t exist in mytestapi


But it should be set like the following :

Web Service URL :

Web API Url Suffix : /v1 (should not be touched by SwaggerHub)






Any ideas how I could handle this?





Re: Save to Azure API Management

Hi Ortwin,


Thank you for your post. You can use versioning in Azure API Management, not the Web API Url Suffix


But, unfortunately, currently, SwaggerHub doesn't provide an option to integrate APIs with a specific version of Azure API Management. 

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Top Kudoed Authors
Top Kudoed Posts