mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #3153] [MERGED] Fix Json Enum conversion, map all JsonDefaults properties to API #9358
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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-migration← Head:api-json-enum📝 Commits (2)
4fe0beeFix Json Enum conversion, map all JsonDefaults properties to API0e41c47revert 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.