mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4069] [MERGED] Make all FromRoute required #9854
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/4069
Author: @crobibero
Created: 9/6/2020
Status: ✅ Merged
Merged: 9/6/2020
Merged by: @Bond-009
Base:
master← Head:api-route-required📝 Commits (3)
59d47ecMake all FromRoute requiredb641089Add missing references29fc882merge all attributes📊 Changes
40 files changed (+262 additions, -240 deletions)
View changed files
📝
Jellyfin.Api/Controllers/AlbumsController.cs(+3 -2)📝
Jellyfin.Api/Controllers/ArtistsController.cs(+2 -1)📝
Jellyfin.Api/Controllers/AudioController.cs(+3 -2)📝
Jellyfin.Api/Controllers/ChannelsController.cs(+3 -2)📝
Jellyfin.Api/Controllers/CollectionController.cs(+2 -2)📝
Jellyfin.Api/Controllers/ConfigurationController.cs(+2 -2)📝
Jellyfin.Api/Controllers/DisplayPreferencesController.cs(+2 -2)📝
Jellyfin.Api/Controllers/DlnaController.cs(+4 -3)📝
Jellyfin.Api/Controllers/DlnaServerController.cs(+10 -9)📝
Jellyfin.Api/Controllers/DynamicHlsController.cs(+16 -16)📝
Jellyfin.Api/Controllers/GenresController.cs(+2 -1)📝
Jellyfin.Api/Controllers/HlsSegmentController.cs(+7 -6)📝
Jellyfin.Api/Controllers/ImageController.cs(+79 -78)📝
Jellyfin.Api/Controllers/InstantMixController.cs(+6 -6)📝
Jellyfin.Api/Controllers/ItemLookupController.cs(+2 -2)📝
Jellyfin.Api/Controllers/ItemRefreshController.cs(+2 -1)📝
Jellyfin.Api/Controllers/ItemUpdateController.cs(+3 -3)📝
Jellyfin.Api/Controllers/ItemsController.cs(+3 -2)📝
Jellyfin.Api/Controllers/LibraryController.cs(+8 -8)📝
Jellyfin.Api/Controllers/LiveTvController.cs(+14 -13)...and 20 more files
📄 Description
Swashbuckle needs the
[Required]attribute to automatically addNullable: falseto the generated spec.All route parameters are always required
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.