22 lines
596 B
C#
22 lines
596 B
C#
// <copyright file="ProducesVideoFileAttribute.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Jellyfin.Api.Attributes;
|
|
|
|
/// <summary>
|
|
/// Produces file attribute of "video/*".
|
|
/// </summary>
|
|
public sealed class ProducesVideoFileAttribute : ProducesFileAttribute
|
|
{
|
|
private const string ContentType = "video/*";
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="ProducesVideoFileAttribute"/> class.
|
|
/// </summary>
|
|
public ProducesVideoFileAttribute()
|
|
: base(ContentType)
|
|
{
|
|
}
|
|
}
|