Browse Source
Merge pull request #10894 from abpframework/auto-merge/rel-5-0/699
Merge branch dev with rel-5.0
pull/10914/head
maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
3 deletions
-
framework/src/Volo.Abp.Http.Client/Volo/Abp/Http/Client/DynamicProxying/ApiDescriptionFinder.cs
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
using System; |
|
|
|
using System; |
|
|
|
using System.Globalization; |
|
|
|
using System.Linq; |
|
|
|
using System.Net.Http; |
|
|
|
@ -90,7 +90,7 @@ public class ApiDescriptionFinder : IApiDescriptionFinder, ITransientDependency |
|
|
|
return await Cache.GetAsync(baseUrl, () => GetApiDescriptionFromServerAsync(client, baseUrl)); |
|
|
|
} |
|
|
|
|
|
|
|
private static readonly JsonSerializerOptions DeserializeOptions = new JsonSerializerOptions |
|
|
|
public static JsonSerializerOptions DeserializeOptions = new JsonSerializerOptions |
|
|
|
{ |
|
|
|
PropertyNamingPolicy = JsonNamingPolicy.CamelCase |
|
|
|
}; |
|
|
|
@ -151,5 +151,4 @@ public class ApiDescriptionFinder : IApiDescriptionFinder, ITransientDependency |
|
|
|
{ |
|
|
|
return actionParameter.Type.ToUpper() == TypeHelper.GetFullNameHandlingNullableAndGenerics(methodParameter.ParameterType).ToUpper(); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|