mirror of
https://github.com/Ikatono/ComiServ.git
synced 2025-10-28 20:45:35 -05:00
minor updates
This commit is contained in:
@@ -33,9 +33,9 @@ public class ComicController(ComicsContext context, ILogger<ComicController> log
|
||||
[HttpGet]
|
||||
[ProducesResponseType<Paginated<ComicData>>(StatusCodes.Status200OK)]
|
||||
public async Task<IActionResult> SearchComics(
|
||||
[FromQuery(Name = "TitleSearch")]
|
||||
[FromQuery(Name = "title")]
|
||||
string? titleSearch,
|
||||
[FromQuery(Name = "DescriptionSearch")]
|
||||
[FromQuery(Name = "description")]
|
||||
string? descSearch,
|
||||
[FromQuery]
|
||||
string[] authors,
|
||||
@@ -43,7 +43,7 @@ public class ComicController(ComicsContext context, ILogger<ComicController> log
|
||||
string[] tags,
|
||||
[FromQuery]
|
||||
string? pages,
|
||||
[FromQuery]
|
||||
[FromQuery(Name = "hash")]
|
||||
string? xxhash64Hex,
|
||||
[FromQuery]
|
||||
bool? exists,
|
||||
|
||||
@@ -26,7 +26,7 @@ public class TaskController(
|
||||
private readonly CancellationTokenSource cancellationToken = new();
|
||||
[HttpGet]
|
||||
[ProducesResponseType<Truncated<string>>(StatusCodes.Status200OK)]
|
||||
public Task<IActionResult> GetTasks(
|
||||
public IActionResult GetTasks(
|
||||
[FromQuery]
|
||||
[DefaultValue(20)]
|
||||
int limit
|
||||
|
||||
Reference in New Issue
Block a user