aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes/ProducesVideoFileAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Attributes/ProducesVideoFileAttribute.cs')
-rw-r--r--Jellyfin.Api/Attributes/ProducesVideoFileAttribute.cs23
1 files changed, 11 insertions, 12 deletions
diff --git a/Jellyfin.Api/Attributes/ProducesVideoFileAttribute.cs b/Jellyfin.Api/Attributes/ProducesVideoFileAttribute.cs
index 6857d45ec..10dec0c00 100644
--- a/Jellyfin.Api/Attributes/ProducesVideoFileAttribute.cs
+++ b/Jellyfin.Api/Attributes/ProducesVideoFileAttribute.cs
@@ -1,18 +1,17 @@
-namespace Jellyfin.Api.Attributes
+namespace Jellyfin.Api.Attributes;
+
+/// <summary>
+/// Produces file attribute of "video/*".
+/// </summary>
+public sealed class ProducesVideoFileAttribute : ProducesFileAttribute
{
+ private const string ContentType = "video/*";
+
/// <summary>
- /// Produces file attribute of "video/*".
+ /// Initializes a new instance of the <see cref="ProducesVideoFileAttribute"/> class.
/// </summary>
- public sealed class ProducesVideoFileAttribute : ProducesFileAttribute
+ public ProducesVideoFileAttribute()
+ : base(ContentType)
{
- private const string ContentType = "video/*";
-
- /// <summary>
- /// Initializes a new instance of the <see cref="ProducesVideoFileAttribute"/> class.
- /// </summary>
- public ProducesVideoFileAttribute()
- : base(ContentType)
- {
- }
}
}