Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
In my project, I'm specifying two versions for the CountriesController controller.
I have two classes within the same namespace, one is CountriesV2Controller [ApiVersion("2.0")] and the other is CountriesController [ApiVersion("1.0")]. Both versions have the same route [Route("api/v{version:apiVersion}/countries")], so I don't understand why I have this problem.
But only version 1 is being displayed and accessible.
When I was using Microsoft.AspNetCore.Mvc.Versioning, everything worked fine, without any issues with my current configuration.
Any help is appreciated :)
Expected Behavior
I should be able to access both versions of the controller.
api-supported-versions: 1.0 , 2.0
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
net7.0
Anything else?
Asp.Versioning.Mvc" Version ->7.1.1
Asp.Versioning.Mvc.ApiExplorer ->Version=7.1.0