Open Source Web Application Framework for ASP.NET Core. Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. Provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
When I use api versioning, the apis can't show in swagger ui,like this:
[ApiController]
[ApiVersion("1.0")]
[Route("api/v{version:apiVersion}/[controller]")]
public class MyController : ControllerBase {}
I guess it is beacause AbpSwashbuckleDocumentFilter.RemoveRouteParameterConstraints, it transform api/v{version:apiVersion}/my to api/v{version}/my, rather than api/v1/my、api/v2/my and etc.
Is there an existing issue for this?
Description
When I use api versioning, the apis can't show in swagger ui,like this:
I guess it is beacause AbpSwashbuckleDocumentFilter.RemoveRouteParameterConstraints, it transform
api/v{version:apiVersion}/my
toapi/v{version}/my
, rather thanapi/v1/my
、api/v2/my
and etc.Reproduction Steps
No response
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
No response
Version
8.1
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
Tiered
Operation System
Windows (Default)
Other information
https://github.com/abpframework/abp/issues/15712