aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2021-02-17 11:48:05 +0900
committerGitHub <noreply@github.com>2021-02-17 11:48:05 +0900
commit1e2ce4e6987a80c2b54cc1a2c0687c29de600427 (patch)
treeea5e30236a749f692016105f896f3324c95f9a2c /Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
parent91ee1b1d02944c0cd1b935261ebab08973e68260 (diff)
parent9da972682c2a767726bff830f5bdc4166a5768bf (diff)
Merge pull request #5243 from crobibero/wish-i-had-my-swagger-back
Bump Swashbuckle.AspNetCore to 6.0.5
Diffstat (limited to 'Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs')
-rw-r--r--Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
index 545937207..77f6695bb 100644
--- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
+++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
@@ -310,6 +310,7 @@ namespace Jellyfin.Server.Extensions
// Allow parameters to properly be nullable.
c.UseAllOfToExtendReferenceSchemas();
+ c.SupportNonNullableReferenceTypes();
// TODO - remove when all types are supported in System.Text.Json
c.AddSwaggerTypeMappings();