Browse Source

Merge pull request #10134 from abpframework/malimintg/GetFullNameHandlingNullableAndGenerics

Use `GetFullNameHandlingNullableAndGenerics` instead of `FullName`.
pull/10135/head
liangshiwei 5 years ago
committed by GitHub
parent
commit
ec740187ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/src/Volo.Abp.Swashbuckle/Volo/Abp/Swashbuckle/Conventions/AbpSwaggerClientProxyServiceConvention.cs

2
framework/src/Volo.Abp.Swashbuckle/Volo/Abp/Swashbuckle/Conventions/AbpSwaggerClientProxyServiceConvention.cs

@ -217,7 +217,7 @@ namespace Volo.Abp.Swashbuckle.Conventions
var key =
$"{appServiceType.FullName}." +
$"{action.ActionMethod.Name}." +
$"{string.Join("-", action.Parameters.Select(x => x.ParameterType.FullName))}";
$"{string.Join("-", action.Parameters.Select(x => TypeHelper.GetFullNameHandlingNullableAndGenerics(x.ParameterType)))}";
var actionApiDescriptionModel = ClientProxyApiDescriptionFinder.FindAction(key);
if (actionApiDescriptionModel == null)

Loading…
Cancel
Save