-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
bugSomething isn't workingSomething isn't working
Description
During execution of API call RestClient is missing ClientCertificates despite passing them in API client constructor as a Configuration object as in example below:
var certificate = new X509Certificate2("path", "password", X509KeyStorageFlags.UserKeySet);
var configuration = new Configuration
{
ClientCertificates = new X509CertificateCollection(new X509Certificate[] { certificate }),
};
var client = new AddressesApi(configuration);
Fix for this is quite simple - at then end of auto-generated function "MergeConfigurations(IReadableConfiguration first, IReadableConfiguration second)" new merged Configuration variable is missing ClientCertificates assignment, please add:
ClientCertificates = second.ClientCertificates ?? first.ClientCertificates
at the end of Configuration object initializer, this should fix the issue :)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working