aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-05-24 16:04:47 -0600
committercrobibero <cody@robibe.ro>2020-05-24 16:04:47 -0600
commite02cc8da53ff76a17de52a18ad83e73a1caa6394 (patch)
tree0dab943b21ba14f3058fd0d3f181d2f79a8c9d2c
parent483e24607b92b2989158670ba4f36da0361d52e2 (diff)
Add Swashbuckle TODO note
-rw-r--r--Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
index 4d08cddbc..7bb659ece 100644
--- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
+++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
@@ -120,6 +120,8 @@ namespace Jellyfin.Server.Extensions
description.TryGetMethodInfo(out MethodInfo methodInfo) ? methodInfo.Name : null);
// Add types not supported by System.Text.Json
+ // TODO: Remove this once these types are supported by System.Text.Json and Swashbuckle
+ // See: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1667
c.MapSwaggerGenTypes();
});
}