Skip to content

Commit

Permalink
[SLS gateway]fix: codegen csharp
Browse files Browse the repository at this point in the history
  • Loading branch information
yndu13 committed Oct 8, 2024
1 parent c9fb998 commit 817590e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions alibabacloud-gateway-sls/csharp/core/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public void ModifyResponse(AlibabaCloud.GatewaySpi.Models.InterceptorContext con
Stream uncompressedData = response.Body;
if (!AlibabaCloud.TeaUtil.Common.IsUnset(bodyrawSize) && !AlibabaCloud.TeaUtil.Common.IsUnset(compressType))
{
uncompressedData = AlibabaCloud.GatewaySls_Util.Common.ReadAndUncompressBlock(response.Body, compressType, bodyrawSize);
uncompressedData = AlibabaCloud.GatewaySls_Util.Client.ReadAndUncompressBlock(response.Body, compressType, bodyrawSize);
}
if (AlibabaCloud.TeaUtil.Common.EqualString(request.BodyType, "binary"))
{
Expand Down Expand Up @@ -310,7 +310,7 @@ public async Task ModifyResponseAsync(AlibabaCloud.GatewaySpi.Models.Interceptor
Stream uncompressedData = response.Body;
if (!AlibabaCloud.TeaUtil.Common.IsUnset(bodyrawSize) && !AlibabaCloud.TeaUtil.Common.IsUnset(compressType))
{
uncompressedData = AlibabaCloud.GatewaySls_Util.Common.ReadAndUncompressBlock(response.Body, compressType, bodyrawSize);
uncompressedData = AlibabaCloud.GatewaySls_Util.Client.ReadAndUncompressBlock(response.Body, compressType, bodyrawSize);
}
if (AlibabaCloud.TeaUtil.Common.EqualString(request.BodyType, "binary"))
{
Expand Down
6 changes: 3 additions & 3 deletions alibabacloud-gateway-sls/csharp/core/client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="AlibabaCloud.GatewaySpi" Version="0.0.3"/>
<PackageReference Include="Aliyun.Credentials" Version="1.4.0"/>
<PackageReference Include="Aliyun.Credentials" Version="1.4.2"/>
<PackageReference Include="AlibabaCloud.TeaUtil" Version="0.1.19"/>
<PackageReference Include="AlibabaCloud.OpenApiUtil" Version="1.1.1"/>
<PackageReference Include="AlibabaCloud.DarabonbaString" Version="1.0.3"/>
<PackageReference Include="AlibabaCloud.DarabonbaMap" Version="0.0.2"/>
<PackageReference Include="AlibabaCloud.DarabonbaArray" Version="0.1.0"/>
<PackageReference Include="AlibabaCloud.DarabonbaEncodeUtil" Version="0.0.2"/>
<PackageReference Include="AlibabaCloud.DarabonbaSignatureUtil" Version="0.0.4"/>
<PackageReference Include="Tea" Version="1.1.0"/>
<PackageReference Include="AlibabaCloud.DarabonbaSignatureUtil" Version="0.0.5"/>
<PackageReference Include="Tea" Version="1.0.11"/>
<PackageReference Include="AlibabaCloud.GatewaySls_Util" Version="0.0.2"/>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions alibabacloud-gateway-sls/util/Teafile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
},
"csharp": {
"namespace": "AlibabaCloud.GatewaySls_Util",
"className": "Client",
"packageInfo": {
"description": "Alibaba Cloud SLS Util Library for .NET",
"company": "Alibaba Cloud",
Expand Down

0 comments on commit 817590e

Please sign in to comment.