diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-08-16 17:03:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-16 17:03:19 +0200 |
| commit | 357b72fb8194a0a1a5b7962c0979b358926afef5 (patch) | |
| tree | 005b16e9094835bde04df835737715f40200e6e5 /Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | |
| parent | 0f85e66962220de17bd632ad4a0d1465324e166c (diff) | |
| parent | 09c859746116a949008ebba832fa17b55c90e6e4 (diff) | |
Merge pull request #3903 from crobibero/xml-formatter
Add xml output formatter
Diffstat (limited to 'Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs')
| -rw-r--r-- | Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs index 83d8fac5b..2e2bfea68 100644 --- a/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs +++ b/Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs @@ -154,6 +154,7 @@ namespace Jellyfin.Server.Extensions opts.OutputFormatters.Insert(0, new PascalCaseJsonProfileFormatter()); opts.OutputFormatters.Add(new CssOutputFormatter()); + opts.OutputFormatters.Add(new XmlOutputFormatter()); }) // Clear app parts to avoid other assemblies being picked up |
