906f701fa8
* Convert CollectionType, SpecialFolderType to enum * Hide internal enum CollectionType values * Apply suggestions from code review Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> * Fix recent change * Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs Co-authored-by: Patrick Barron <barronpm@gmail.com> --------- Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com> Co-authored-by: Patrick Barron <barronpm@gmail.com>
12 lines
281 B
C#
12 lines
281 B
C#
using System;
|
|
|
|
namespace Jellyfin.Data.Attributes;
|
|
|
|
/// <summary>
|
|
/// Attribute to specify that the enum value is to be ignored when generating the openapi spec.
|
|
/// </summary>
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
public sealed class OpenApiIgnoreEnumAttribute : Attribute
|
|
{
|
|
}
|