Forum Discussion

monikagautam89's avatar
monikagautam89
New Contributor
3 years ago

Query Regarding Multiple api versioning

I was implementing Multiple api versioning using swashbuckle.core but I am stuck when I have same endpoint with multiple actions having different versions. Is it Possible to point the same endpoint with multiple actions with different versions?

 

In my case, I have multiple version like (6.4 & 6.5) but choosing any of the version from the dropdown of swagger UI, it is not pointing to the 6.5 action of same endpoint.  it is always returning  the action of same endpoint of 6.4 version.

Reason: System.web.Http.Description.ApiDescription always contains the Unique ID and ID is the endpoint and we have same endpoint for multiple actions with different version.

Pls help.