aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2023-01-13 22:23:22 -0500
committerPatrick Barron <barronpm@gmail.com>2023-01-15 15:46:50 -0500
commit7186b343bd21fe6b4e771b8530bd780a98a84472 (patch)
tree2d163788f83006d2480b2418045b9c640b71fef8
parent74a07f6d1c52533aa648da27cb3924d6bb41bb19 (diff)
Move Formatters to Jellyfin.Api
-rw-r--r--Jellyfin.Api/Formatters/CamelCaseJsonProfileFormatter.cs (renamed from Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs)2
-rw-r--r--Jellyfin.Api/Formatters/CssOutputFormatter.cs (renamed from Jellyfin.Server/Formatters/CssOutputFormatter.cs)2
-rw-r--r--Jellyfin.Api/Formatters/PascalCaseJsonProfileFormatter.cs (renamed from Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs)2
-rw-r--r--Jellyfin.Api/Formatters/XmlOutputFormatter.cs (renamed from Jellyfin.Server/Formatters/XmlOutputFormatter.cs)2
-rw-r--r--Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs2
5 files changed, 5 insertions, 5 deletions
diff --git a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs b/Jellyfin.Api/Formatters/CamelCaseJsonProfileFormatter.cs
index ea8c5ecdb..8f1f5dd94 100644
--- a/Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs
+++ b/Jellyfin.Api/Formatters/CamelCaseJsonProfileFormatter.cs
@@ -2,7 +2,7 @@ using Jellyfin.Extensions.Json;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
-namespace Jellyfin.Server.Formatters
+namespace Jellyfin.Api.Formatters
{
/// <summary>
/// Camel Case Json Profile Formatter.
diff --git a/Jellyfin.Server/Formatters/CssOutputFormatter.cs b/Jellyfin.Api/Formatters/CssOutputFormatter.cs
index fdaa48f84..e88c8ad1b 100644
--- a/Jellyfin.Server/Formatters/CssOutputFormatter.cs
+++ b/Jellyfin.Api/Formatters/CssOutputFormatter.cs
@@ -3,7 +3,7 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Formatters;
-namespace Jellyfin.Server.Formatters
+namespace Jellyfin.Api.Formatters
{
/// <summary>
/// Css output formatter.
diff --git a/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs b/Jellyfin.Api/Formatters/PascalCaseJsonProfileFormatter.cs
index 03ca7dda7..5d77dbf4c 100644
--- a/Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs
+++ b/Jellyfin.Api/Formatters/PascalCaseJsonProfileFormatter.cs
@@ -3,7 +3,7 @@ using Jellyfin.Extensions.Json;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Net.Http.Headers;
-namespace Jellyfin.Server.Formatters
+namespace Jellyfin.Api.Formatters
{
/// <summary>
/// Pascal Case Json Profile Formatter.
diff --git a/Jellyfin.Server/Formatters/XmlOutputFormatter.cs b/Jellyfin.Api/Formatters/XmlOutputFormatter.cs
index 156368d69..df8b1650b 100644
--- a/Jellyfin.Server/Formatters/XmlOutputFormatter.cs
+++ b/Jellyfin.Api/Formatters/XmlOutputFormatter.cs
@@ -4,7 +4,7 @@ using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Formatters;
-namespace Jellyfin.Server.Formatters
+namespace Jellyfin.Api.Formatters
{
/// <summary>
/// Xml output formatter.
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
index f74152405..e9af1cf83 100644
--- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
+++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs
@@ -20,13 +20,13 @@ using Jellyfin.Api.Auth.RequiresElevationPolicy;
using Jellyfin.Api.Auth.SyncPlayAccessPolicy;
using Jellyfin.Api.Constants;
using Jellyfin.Api.Controllers;
+using Jellyfin.Api.Formatters;
using Jellyfin.Api.ModelBinders;
using Jellyfin.Data.Enums;
using Jellyfin.Extensions.Json;
using Jellyfin.Networking.Configuration;
using Jellyfin.Server.Configuration;
using Jellyfin.Server.Filters;
-using Jellyfin.Server.Formatters;
using MediaBrowser.Common.Net;
using MediaBrowser.Model.Entities;
using MediaBrowser.Model.Session;