mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix openapi nullable properties
This commit is contained in:
parent
98a4e1b840
commit
ef97ead707
@ -308,6 +308,9 @@ namespace Jellyfin.Server.Extensions
|
|||||||
?? null;
|
?? null;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Allow parameters to properly be nullable.
|
||||||
|
c.UseAllOfToExtendReferenceSchemas();
|
||||||
|
|
||||||
// TODO - remove when all types are supported in System.Text.Json
|
// TODO - remove when all types are supported in System.Text.Json
|
||||||
c.AddSwaggerTypeMappings();
|
c.AddSwaggerTypeMappings();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user