[PR #3153] [MERGED] Fix Json Enum conversion, map all JsonDefaults properties to API #9358

Closed
opened 2026-02-07 06:00:49 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/3153
Author: @crobibero
Created: 5/21/2020
Status: Merged
Merged: 6/2/2020
Merged by: @crobibero

Base: api-migrationHead: api-json-enum


📝 Commits (2)

  • 4fe0bee Fix Json Enum conversion, map all JsonDefaults properties to API
  • 0e41c47 revert to System.Text.JsonSerializer

📊 Changes

6 files changed (+55 additions, -64 deletions)

View changed files

📝 Jellyfin.Api/Controllers/ConfigurationController.cs (+2 -12)
📝 Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs (+16 -6)
📝 Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs (+2 -2)
📝 Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs (+2 -2)
Jellyfin.Server/Models/JsonOptions.cs (+0 -41)
📝 MediaBrowser.Common/Json/JsonDefaults.cs (+33 -1)

📄 Description

Changes
Add openapi version for proper ApiClient generation. (NSwagStudio fails without it)
Map all properties from JsonDefaults to API

Part of #2872


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/3153 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 5/21/2020 **Status:** ✅ Merged **Merged:** 6/2/2020 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `api-migration` ← **Head:** `api-json-enum` --- ### 📝 Commits (2) - [`4fe0bee`](https://github.com/jellyfin/jellyfin/commit/4fe0beec162d4554f1d6cc3c658b672eafbfa307) Fix Json Enum conversion, map all JsonDefaults properties to API - [`0e41c47`](https://github.com/jellyfin/jellyfin/commit/0e41c4727d84edbf4d7b96c59e0a3d3bec87b633) revert to System.Text.JsonSerializer ### 📊 Changes **6 files changed** (+55 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Controllers/ConfigurationController.cs` (+2 -12) 📝 `Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs` (+16 -6) 📝 `Jellyfin.Server/Formatters/CamelCaseJsonProfileFormatter.cs` (+2 -2) 📝 `Jellyfin.Server/Formatters/PascalCaseJsonProfileFormatter.cs` (+2 -2) ➖ `Jellyfin.Server/Models/JsonOptions.cs` (+0 -41) 📝 `MediaBrowser.Common/Json/JsonDefaults.cs` (+33 -1) </details> ### 📄 Description **Changes** Add openapi version for proper ApiClient generation. (NSwagStudio fails without it) Map all properties from JsonDefaults to API Part of #2872 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:00:49 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#9358