Cleanup watchlist openapi doc

This commit is contained in:
Zoe Roux 2024-05-01 19:20:36 +02:00
parent c52d818a1d
commit 36f6cd5631
No known key found for this signature in database

View File

@ -32,12 +32,12 @@ using static Kyoo.Abstractions.Models.Utils.Constants;
namespace Kyoo.Core.Api;
/// <summary>
/// List new items added to kyoo.
/// List times on the user's watchlist
/// </summary>
[Route("watchlist")]
[ApiController]
[PartialPermission("LibraryItem")]
[ApiDefinition("News", Group = ResourcesGroup)]
[PartialPermission("Watchlist")]
[ApiDefinition("Watchlist", Group = ResourcesGroup)]
[UserOnly]
public class WatchlistApi(IWatchStatusRepository repository) : BaseApi
{
@ -45,7 +45,7 @@ public class WatchlistApi(IWatchStatusRepository repository) : BaseApi
/// Get all
/// </summary>
/// <remarks>
/// Get all resources that match the given filter.
/// Get all resources in the user's watchlist
/// </remarks>
/// <param name="filter">Filter the returned items.</param>
/// <param name="pagination">How many items per page should be returned, where should the page start...</param>