aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/ConfigurationController.cs
diff options
context:
space:
mode:
authorgnattu <gnattu@users.noreply.github.com>2025-04-01 07:43:31 +0800
committerGitHub <noreply@github.com>2025-03-31 17:43:31 -0600
commit4a4fef830eccf0629d7cf955126f0cd78867e0ee (patch)
treed75fc86d1c2b88e43f69d19af9aed69d6b6eaaff /Jellyfin.Api/Controllers/ConfigurationController.cs
parente9729a536f26a92ccd30cfff4e698e66dbda1adc (diff)
Explicitly set default value for enums used in API models (#13821)
Enums in response model with no nullability or default value will make the API very fragile as each extension to the enum will break the API for some clients, but a lot of enums actually do have an unknown value which should be used as a default. This set all model properties that are non-nullable using an enum that has an Unknown member in 10.10, except MediaStream.VideoRangeType which is refactored in #13277
Diffstat (limited to 'Jellyfin.Api/Controllers/ConfigurationController.cs')
0 files changed, 0 insertions, 0 deletions