Browse Source
Merge pull request #14192 from abpframework/auto-merge/rel-6-0/1380
Merge branch dev with rel-6.0
pull/14193/head
maliming
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
framework/src/Volo.Abp.Swashbuckle/Volo/Abp/Swashbuckle/AbpSwashbuckleDocumentFilter.cs
|
|
|
@ -17,7 +17,7 @@ public class AbpSwashbuckleDocumentFilter : IDocumentFilter |
|
|
|
.Where(actionDescriptor => !string.IsNullOrEmpty(actionDescriptor.DisplayName) && |
|
|
|
ActionUrlPrefixes.Any(actionUrlPrefix => !actionDescriptor.DisplayName.Contains(actionUrlPrefix))) |
|
|
|
.DistinctBy(actionDescriptor => actionDescriptor.AttributeRouteInfo?.Template) |
|
|
|
.Select(actionDescriptor => actionDescriptor.AttributeRouteInfo?.Template.EnsureStartsWith('/')) |
|
|
|
.Select(actionDescriptor => actionDescriptor.AttributeRouteInfo?.Template?.EnsureStartsWith('/').Replace("?", "")) |
|
|
|
.Where(actionUrl => !string.IsNullOrEmpty(actionUrl)) |
|
|
|
.ToList(); |
|
|
|
|
|
|
|
|