Skip to content

Commit 817590e

Browse files
committed
[SLS gateway]fix: codegen csharp
1 parent c9fb998 commit 817590e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

alibabacloud-gateway-sls/csharp/core/Client.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public void ModifyResponse(AlibabaCloud.GatewaySpi.Models.InterceptorContext con
250250
Stream uncompressedData = response.Body;
251251
if (!AlibabaCloud.TeaUtil.Common.IsUnset(bodyrawSize) && !AlibabaCloud.TeaUtil.Common.IsUnset(compressType))
252252
{
253-
uncompressedData = AlibabaCloud.GatewaySls_Util.Common.ReadAndUncompressBlock(response.Body, compressType, bodyrawSize);
253+
uncompressedData = AlibabaCloud.GatewaySls_Util.Client.ReadAndUncompressBlock(response.Body, compressType, bodyrawSize);
254254
}
255255
if (AlibabaCloud.TeaUtil.Common.EqualString(request.BodyType, "binary"))
256256
{
@@ -310,7 +310,7 @@ public async Task ModifyResponseAsync(AlibabaCloud.GatewaySpi.Models.Interceptor
310310
Stream uncompressedData = response.Body;
311311
if (!AlibabaCloud.TeaUtil.Common.IsUnset(bodyrawSize) && !AlibabaCloud.TeaUtil.Common.IsUnset(compressType))
312312
{
313-
uncompressedData = AlibabaCloud.GatewaySls_Util.Common.ReadAndUncompressBlock(response.Body, compressType, bodyrawSize);
313+
uncompressedData = AlibabaCloud.GatewaySls_Util.Client.ReadAndUncompressBlock(response.Body, compressType, bodyrawSize);
314314
}
315315
if (AlibabaCloud.TeaUtil.Common.EqualString(request.BodyType, "binary"))
316316
{

alibabacloud-gateway-sls/csharp/core/client.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
4242
</PackageReference>
4343
<PackageReference Include="AlibabaCloud.GatewaySpi" Version="0.0.3"/>
44-
<PackageReference Include="Aliyun.Credentials" Version="1.4.0"/>
44+
<PackageReference Include="Aliyun.Credentials" Version="1.4.2"/>
4545
<PackageReference Include="AlibabaCloud.TeaUtil" Version="0.1.19"/>
4646
<PackageReference Include="AlibabaCloud.OpenApiUtil" Version="1.1.1"/>
4747
<PackageReference Include="AlibabaCloud.DarabonbaString" Version="1.0.3"/>
4848
<PackageReference Include="AlibabaCloud.DarabonbaMap" Version="0.0.2"/>
4949
<PackageReference Include="AlibabaCloud.DarabonbaArray" Version="0.1.0"/>
5050
<PackageReference Include="AlibabaCloud.DarabonbaEncodeUtil" Version="0.0.2"/>
51-
<PackageReference Include="AlibabaCloud.DarabonbaSignatureUtil" Version="0.0.4"/>
52-
<PackageReference Include="Tea" Version="1.1.0"/>
51+
<PackageReference Include="AlibabaCloud.DarabonbaSignatureUtil" Version="0.0.5"/>
52+
<PackageReference Include="Tea" Version="1.0.11"/>
5353
<PackageReference Include="AlibabaCloud.GatewaySls_Util" Version="0.0.2"/>
5454
</ItemGroup>
5555
</Project>

alibabacloud-gateway-sls/util/Teafile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
},
2424
"csharp": {
2525
"namespace": "AlibabaCloud.GatewaySls_Util",
26+
"className": "Client",
2627
"packageInfo": {
2728
"description": "Alibaba Cloud SLS Util Library for .NET",
2829
"company": "Alibaba Cloud",

0 commit comments

Comments
 (0)