summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-01-23 14:43:51 +0100
committerivarlovlie <git@ivarlovlie.no>2022-01-23 14:43:51 +0100
commit0cadb64365269e8ec2c7153953ac1eb0430e1d08 (patch)
tree96d8a72235fee9a96eb4d2538aeef47538e3c75c /src/server
parentce86d103039b22695b04714ee85e9ef3e1e032b5 (diff)
downloadbookmark-thing-0cadb64365269e8ec2c7153953ac1eb0430e1d08.tar.xz
bookmark-thing-0cadb64365269e8ec2c7153953ac1eb0430e1d08.zip
chore: Clean up warnings
Diffstat (limited to 'src/server')
-rw-r--r--src/server/Api/V1/BaseV1Route.cs1
-rw-r--r--src/server/StartupTasks.cs1
-rw-r--r--src/server/Utilities/SwaggerGenOptionsExtensions.cs1
3 files changed, 1 insertions, 2 deletions
diff --git a/src/server/Api/V1/BaseV1Route.cs b/src/server/Api/V1/BaseV1Route.cs
index b1e2128..21c8128 100644
--- a/src/server/Api/V1/BaseV1Route.cs
+++ b/src/server/Api/V1/BaseV1Route.cs
@@ -23,6 +23,7 @@ public class BaseV1Route : ControllerBase
var authHeader = AuthenticationHeaderValue.Parse(Request.Headers["Authorization"]);
if (authHeader.Parameter == null) return false;
} catch (Exception e) {
+ Console.WriteLine(e);
return false;
}
diff --git a/src/server/StartupTasks.cs b/src/server/StartupTasks.cs
index 0284f34..268ba4e 100644
--- a/src/server/StartupTasks.cs
+++ b/src/server/StartupTasks.cs
@@ -10,7 +10,6 @@ public static class StartupTasks
/// <summary>
/// Execute startup tasks.
/// </summary>
- /// <param name="stoppingToken"></param>
/// <returns></returns>
public static Task ExecuteAsync() {
EnsureCreated();
diff --git a/src/server/Utilities/SwaggerGenOptionsExtensions.cs b/src/server/Utilities/SwaggerGenOptionsExtensions.cs
index 0203f77..215efe5 100644
--- a/src/server/Utilities/SwaggerGenOptionsExtensions.cs
+++ b/src/server/Utilities/SwaggerGenOptionsExtensions.cs
@@ -4,7 +4,6 @@ public static class SwaggerGenOptionsExtensions
{
/// <summary>
/// Updates Swagger document to support ApiEndpoints.<br/><br/>
- /// For controllers inherited from <see cref="BaseRoute"/>:<br/>
/// - Replaces action Tag with <c>[namespace]</c><br/>
/// </summary>
public static void UseApiEndpoints(this SwaggerGenOptions options) {