19 lines
494 B
C#
19 lines
494 B
C#
|
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)
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|