[PR #5099] [MERGED] Fix openapi nullable properties #10404

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5099
Author: @crobibero
Created: 1/25/2021
Status: Merged
Merged: 1/25/2021
Merged by: @cvium

Base: masterHead: non-required-query-param


📝 Commits (2)

  • ef97ead Fix openapi nullable properties
  • 77b417e Mark non-nullable body as null

📊 Changes

3 files changed (+5 additions, -2 deletions)

View changed files

📝 Jellyfin.Api/Controllers/PackageController.cs (+1 -1)
📝 Jellyfin.Api/Controllers/UserController.cs (+1 -1)
📝 Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs (+3 -0)

📄 Description

https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1589#issuecomment-602602417
Resulting openapi spec: openapi.zip


🔄 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/5099 **Author:** [@crobibero](https://github.com/crobibero) **Created:** 1/25/2021 **Status:** ✅ Merged **Merged:** 1/25/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `non-required-query-param` --- ### 📝 Commits (2) - [`ef97ead`](https://github.com/jellyfin/jellyfin/commit/ef97ead707a100f1599d22a7b37095ed6f3fd041) Fix openapi nullable properties - [`77b417e`](https://github.com/jellyfin/jellyfin/commit/77b417e41e76dadfacbff5605c81eeb5ce2d5d2d) Mark non-nullable body as null ### 📊 Changes **3 files changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Controllers/PackageController.cs` (+1 -1) 📝 `Jellyfin.Api/Controllers/UserController.cs` (+1 -1) 📝 `Jellyfin.Server/Extensions/ApiServiceCollectionExtensions.cs` (+3 -0) </details> ### 📄 Description https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1589#issuecomment-602602417 Resulting openapi spec: [openapi.zip](https://github.com/jellyfin/jellyfin/files/5863300/openapi.zip) --- <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:19:42 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10404