aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Attributes
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2021-01-20 16:24:15 -0700
committercrobibero <cody@robibe.ro>2021-01-20 16:24:15 -0700
commit59ff2c5b4b26a435751f1bbdecd8dc309f14e7da (patch)
tree45fcd977891882a8e956f2ff6d5f3dd581edce25 /Jellyfin.Api/Attributes
parent215554bb4111cabae8ba1deacb534b947732b5e3 (diff)
Add ability to mark query parameter as obsolete.
Diffstat (limited to 'Jellyfin.Api/Attributes')
-rw-r--r--Jellyfin.Api/Attributes/ParameterObsoleteAttribute.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Jellyfin.Api/Attributes/ParameterObsoleteAttribute.cs b/Jellyfin.Api/Attributes/ParameterObsoleteAttribute.cs
new file mode 100644
index 000000000..260e29d60
--- /dev/null
+++ b/Jellyfin.Api/Attributes/ParameterObsoleteAttribute.cs
@@ -0,0 +1,12 @@
+using System;
+
+namespace Jellyfin.Api.Attributes
+{
+ /// <summary>
+ /// Attribute to mark a parameter as obsolete.
+ /// </summary>
+ [AttributeUsage(AttributeTargets.Parameter)]
+ public class ParameterObsoleteAttribute : Attribute
+ {
+ }
+} \ No newline at end of file