Add default value to OpenAPI specification for UserPolicy.EnableCollectionManagement

This fixes a breaking API change during authentication
pull/9933/head
Niels van Velzen 11 months ago
parent a1eb2f6ea8
commit a8486a7b3b

@ -2,6 +2,7 @@
#pragma warning disable CS1591, CA1819 #pragma warning disable CS1591, CA1819
using System; using System;
using System.ComponentModel;
using System.Xml.Serialization; using System.Xml.Serialization;
using Jellyfin.Data.Enums; using Jellyfin.Data.Enums;
using AccessSchedule = Jellyfin.Data.Entities.AccessSchedule; using AccessSchedule = Jellyfin.Data.Entities.AccessSchedule;
@ -79,6 +80,7 @@ namespace MediaBrowser.Model.Users
/// Gets or sets a value indicating whether this instance can manage collections. /// Gets or sets a value indicating whether this instance can manage collections.
/// </summary> /// </summary>
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value> /// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>
[DefaultValue(false)]
public bool EnableCollectionManagement { get; set; } public bool EnableCollectionManagement { get; set; }
/// <summary> /// <summary>

Loading…
Cancel
Save