From c527a1f6f6c2f28a4f2775c5d76d844a843762a9 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sat, 10 Sep 2022 11:39:51 -0500 Subject: fix a bug preventing swagger from working --- src/slskd/Core/Options.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/slskd/Core/Options.cs') diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 259977b6..d6d4b04c 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -755,12 +755,12 @@ namespace slskd /// Gets metrics endpoint authentication options. /// [Validate] - public AuthenticationOptions Authentication { get; init; } = new AuthenticationOptions(); + public MetricsAuthenticationOptions Authentication { get; init; } = new MetricsAuthenticationOptions(); /// /// Metrics endpoint authentication options. /// - public class AuthenticationOptions + public class MetricsAuthenticationOptions { /// /// Gets a value indicating whether authentication should be disabled. @@ -1114,12 +1114,12 @@ namespace slskd /// Gets authentication options. /// [Validate] - public AuthenticationOptions Authentication { get; init; } = new AuthenticationOptions(); + public WebAuthenticationOptions Authentication { get; init; } = new WebAuthenticationOptions(); /// /// Authentication options. /// - public class AuthenticationOptions + public class WebAuthenticationOptions { /// /// Gets a value indicating whether authentication should be disabled. -- cgit v1.2.3