Solved
Forum Discussion
Vilo
3 years agoNew Contributor
The explaination :
Swashbuckle and Swagger only allow one unique route for each method.
So : api/v{version:apiVersion}/composer for version 2 and api/v{version:apiVersion}/composer for version 3 are the same.
In order to have really "api/v2/composer" and "api/v3/composer", the HttpConfiguration .NET object must to define :
httpConfig.AddVersionedApiExplorer(o => o.SubstituteApiVersionInUrl = true);