瀏覽代碼

Add Swashbuckle TODO note

crobibero 5 年之前
父節點
當前提交
e02cc8da53
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs

+ 2 - 0
Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs

@@ -120,6 +120,8 @@ namespace Jellyfin.Server.Extensions
                     description.TryGetMethodInfo(out MethodInfo methodInfo) ? methodInfo.Name : null);
                     description.TryGetMethodInfo(out MethodInfo methodInfo) ? methodInfo.Name : null);
 
 
                 // Add types not supported by System.Text.Json
                 // 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();
                 c.MapSwaggerGenTypes();
             });
             });
         }
         }