[PR #5069] [MERGED] Add ability to mark query parameter as obsolete #10211

Closed
opened 2025-12-22 07:55:15 +01:00 by backuprepo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5069
Author: @crobibero
Created: 1/20/2021
Status: Merged
Merged: 1/23/2021
Merged by: @joshuaboniface

Base: masterHead: obsolete-param


📝 Commits (2)

  • 59ff2c5 Add ability to mark query parameter as obsolete.
  • 91a9af9 Apply 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:
image

After:
image


🔄 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/5069 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 1/20/2021 **Status:** ✅ Merged **Merged:** 1/23/2021 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `obsolete-param` --- ### 📝 Commits (2) - [`59ff2c5`](https://github.com/jellyfin/jellyfin/commit/59ff2c5b4b26a435751f1bbdecd8dc309f14e7da) Add ability to mark query parameter as obsolete. - [`91a9af9`](https://github.com/jellyfin/jellyfin/commit/91a9af95c2c5b7edb897494379a55c4621e8e6f5) Apply suggestions from code review ### 📊 Changes **5 files changed** (+71 additions, -22 deletions) <details> <summary>View changed files</summary> ➕ `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) </details> ### 📄 Description This only changes the generated `openapi.json`, it does not have any functional changes. Before: ![image](https://user-images.githubusercontent.com/24963659/105254203-3ded6480-5b3e-11eb-8c30-c77b12e3f849.png) After: ![image](https://user-images.githubusercontent.com/24963659/105253934-b7388780-5b3d-11eb-9022-8b0b7dbd73f3.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
backuprepo 2025-12-22 07:55:15 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#10211
No description provided.