mirror of
https://github.com/jellyfin/jellyfin
synced 2024-09-05 23:53:44 +00:00
Enable non-nullable reference types in generated api spec
This commit is contained in:
parent
6ad2544a30
commit
9da972682c
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue