mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #5069] [MERGED] Add ability to mark query parameter as obsolete #10390
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/5069
Author: @crobibero
Created: 1/21/2021
Status: ✅ Merged
Merged: 1/23/2021
Merged by: @joshuaboniface
Base:
master← Head:obsolete-param📝 Commits (2)
59ff2c5Add ability to mark query parameter as obsolete.91a9af9Apply suggestions from code review📊 Changes
5 files changed (+71 additions, -22 deletions)
View changed files
➕
Jellyfin.Api/Attributes/ParameterObsoleteAttribute.cs(+12 -0)📝
Jellyfin.Api/Controllers/MediaInfoController.cs(+15 -14)📝
Jellyfin.Api/Controllers/PlaylistsController.cs(+6 -4)📝
Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs(+1 -4)➕
Jellyfin.Server/Filters/ParameterObsoleteFilter.cs(+37 -0)📄 Description
This only changes the generated
openapi.json, it does not have any functional changes.Before:

After:

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