jellyfin/Jellyfin.Api/Attributes/ProducesVideoFileAttribute.cs

18 lines
440 B
C#
Raw Normal View History

namespace Jellyfin.Api.Attributes;
2023-01-31 11:18:10 +00:00
/// <summary>
/// Produces file attribute of "video/*".
/// </summary>
public sealed class ProducesVideoFileAttribute : ProducesFileAttribute
{
2023-01-31 11:18:10 +00:00
private const string ContentType = "video/*";
/// <summary>
2023-01-31 11:18:10 +00:00
/// Initializes a new instance of the <see cref="ProducesVideoFileAttribute"/> class.
/// </summary>
2023-01-31 11:18:10 +00:00
public ProducesVideoFileAttribute()
: base(ContentType)
{
}
}