forked from loafle/openapi-generator-original
[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:
@@ -317,7 +317,7 @@ namespace Org.OpenAPITools.Client
|
||||
{
|
||||
foreach (var value in headerParam.Value)
|
||||
{
|
||||
request.AddHeader(headerParam.Key, value);
|
||||
request.AddOrUpdateHeader(headerParam.Key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user