jellyfin-server/Jellyfin.Api/Attributes/ProducesImageFileAttribute.cs

18 lines
443 B
C#
Raw Normal View History

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