aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes/ProducesImageFileAttribute.cs
blob: f145a061ee3226ccacc03def4386e67cf248bcb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace Jellyfin.Api.Attributes;

/// <summary>
/// Produces file attribute of "image/*".
/// </summary>
public sealed class ProducesImageFileAttribute : ProducesFileAttribute
{
    private const string ContentType = "image/*";

    /// <summary>
    /// Initializes a new instance of the <see cref="ProducesImageFileAttribute"/> class.
    /// </summary>
    public ProducesImageFileAttribute()
        : base(ContentType)
    {
    }
}