aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes/ProducesImageFileAttribute.cs
blob: e1581367621e4b452ab796e2c7ef9e017408aaa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
namespace Jellyfin.Api.Attributes
{
    /// <summary>
    /// Produces file attribute of "image/*".
    /// </summary>
    public class ProducesImageFileAttribute : ProducesFileAttribute
    {
        private const string ContentType = "image/*";

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