jellyfin/Jellyfin.Api/Attributes/ProducesAudioFileAttribute.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 "image/*".
/// </summary>
public sealed class ProducesAudioFileAttribute : ProducesFileAttribute
{
2023-01-31 11:18:10 +00:00
private const string ContentType = "audio/*";
/// <summary>
2023-01-31 11:18:10 +00:00
/// Initializes a new instance of the <see cref="ProducesAudioFileAttribute"/> class.
/// </summary>
2023-01-31 11:18:10 +00:00
public ProducesAudioFileAttribute()
: base(ContentType)
{
}
}