[C#] avoid duplicated header in csharp client (restsharp) (#20421)

* avoid duplicated header in csharp client

* set env

* install openssl

* switch to windows
This commit is contained in:
William Cheng
2025-01-09 15:36:49 +08:00
committed by GitHub
parent 3d2ff493e6
commit 9fcbdb95d9
13 changed files with 13 additions and 13 deletions

View File

@@ -317,7 +317,7 @@ namespace Org.OpenAPITools.Client
{
foreach (var value in headerParam.Value)
{
request.AddHeader(headerParam.Key, value);
request.AddOrUpdateHeader(headerParam.Key, value);
}
}
}