Add default value to OpenAPI specification for UserPolicy.EnableCollectionManagement

This fixes a breaking API change during authentication
This commit is contained in:
Niels van Velzen 2023-06-27 13:58:54 +02:00
parent a1eb2f6ea8
commit a8486a7b3b

View File

@ -2,6 +2,7 @@
#pragma warning disable CS1591, CA1819
using System;
using System.ComponentModel;
using System.Xml.Serialization;
using Jellyfin.Data.Enums;
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.
/// </summary>
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>
[DefaultValue(false)]
public bool EnableCollectionManagement { get; set; }
/// <summary>