diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-09-10 11:39:51 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-09-10 11:39:51 -0500 |
| commit | c527a1f6f6c2f28a4f2775c5d76d844a843762a9 (patch) | |
| tree | 4844d067cf3a33fe2238b28c143d29ebb46e7ead /src | |
| parent | 253483c7157cf863b816fde348151a57c1505e38 (diff) | |
| download | slskd-c527a1f6f6c2f28a4f2775c5d76d844a843762a9.tar.gz | |
fix a bug preventing swagger from working
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/Options.cs | 8 |
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. |
