aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-09-10 11:39:51 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-09-10 11:39:51 -0500
commitc527a1f6f6c2f28a4f2775c5d76d844a843762a9 (patch)
tree4844d067cf3a33fe2238b28c143d29ebb46e7ead /src
parent253483c7157cf863b816fde348151a57c1505e38 (diff)
downloadslskd-c527a1f6f6c2f28a4f2775c5d76d844a843762a9.tar.gz
fix a bug preventing swagger from working
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/Options.cs8
1 files changed, 4 insertions, 4 deletions
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.
/// </summary>
[Validate]
- public AuthenticationOptions Authentication { get; init; } = new AuthenticationOptions();
+ public MetricsAuthenticationOptions Authentication { get; init; } = new MetricsAuthenticationOptions();
/// <summary>
/// Metrics endpoint authentication options.
/// </summary>
- public class AuthenticationOptions
+ public class MetricsAuthenticationOptions
{
/// <summary>
/// Gets a value indicating whether authentication should be disabled.
@@ -1114,12 +1114,12 @@ namespace slskd
/// Gets authentication options.
/// </summary>
[Validate]
- public AuthenticationOptions Authentication { get; init; } = new AuthenticationOptions();
+ public WebAuthenticationOptions Authentication { get; init; } = new WebAuthenticationOptions();
/// <summary>
/// Authentication options.
/// </summary>
- public class AuthenticationOptions
+ public class WebAuthenticationOptions
{
/// <summary>
/// Gets a value indicating whether authentication should be disabled.