azure-apim-extension icon indicating copy to clipboard operation
azure-apim-extension copied to clipboard

Allow publishing Original Version of a versioned API

Open calebsmith411 opened this issue 4 years ago • 3 comments

In Azure Portal, you can remove the version for the API, which defaults the backend management API call to pass an empty string for the version value. This results in the portal displaying "original version", and a version is not required to be specified. This PR is to mimic that functionality (in v3, and v4), as a version is not required to be specified by APIM.

calebsmith411 avatar Oct 16 '20 14:10 calebsmith411

@stephaneey Any thoughts on this PR?

calebsmith411 avatar Oct 26 '20 14:10 calebsmith411

Hello @calebsmith411 ,

If you don't want to use a versioned API, just use the ad-hoc task "Create or Update API".

stephaneey avatar Nov 10 '20 08:11 stephaneey

Hello @calebsmith411 ,

If you don't want to use a versioned API, just use the ad-hoc task "Create or Update API".

Hi @stephaneey I do want to use versions, but I want the first version to be "Original Version" and not /v1. Which is do-able from the api portal itself.

calebsmith411 avatar Nov 11 '20 19:11 calebsmith411

Hello,

Thanks for your contribution. I have merged the PR.

Best Regards

stephaneey avatar Nov 26 '22 10:11 stephaneey

Is this feature in production? @stephaneey @calebsmith411

karygauss03 avatar Jun 05 '23 12:06 karygauss03