Skip to content

Commit

Permalink
[dotnet] [bidi] Fix name of autodetect proxy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Dec 15, 2024
1 parent 19b7b5d commit e6d6e0b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
namespace OpenQA.Selenium.BiDi.Modules.Session;

[JsonPolymorphic(TypeDiscriminatorPropertyName = "proxyType")]
[JsonDerivedType(typeof(Autodetect), "autodetect")]
[JsonDerivedType(typeof(AutoDetect), "autodetect")]
[JsonDerivedType(typeof(Direct), "direct")]
[JsonDerivedType(typeof(Manual), "manual")]
[JsonDerivedType(typeof(Pac), "pac")]
[JsonDerivedType(typeof(System), "system")]
public abstract record ProxyConfiguration
{
public record Autodetect : ProxyConfiguration;
public record AutoDetect : ProxyConfiguration;

public record Direct : ProxyConfiguration;

Expand All @@ -48,7 +48,7 @@ public record Manual : ProxyConfiguration
public long? SocksVersion { get; set; }
}

public record Pac(string ProxyAutoconfigUrl) : ProxyConfiguration;
public record Pac(string ProxyAutoConfigUrl) : ProxyConfiguration;

public record System : ProxyConfiguration;
}

0 comments on commit e6d6e0b

Please sign in to comment.