mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 07:40:13 +01:00
Simplify SearchPaths
This commit is contained in:
parent
519030861d
commit
6b0cefbc7c
@ -19,7 +19,7 @@ public class SearchController(PgsqlContext context) : Controller
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="name">Name/Title of the Manga</param>
|
/// <param name="name">Name/Title of the Manga</param>
|
||||||
/// <returns>Array of Manga</returns>
|
/// <returns>Array of Manga</returns>
|
||||||
[HttpPost("Manga/{name}")]
|
[HttpPost("{name}")]
|
||||||
[ProducesResponseType<Manga[]>(Status500InternalServerError)]
|
[ProducesResponseType<Manga[]>(Status500InternalServerError)]
|
||||||
public IActionResult SearchMangaGlobal(string name)
|
public IActionResult SearchMangaGlobal(string name)
|
||||||
{
|
{
|
||||||
@ -49,7 +49,7 @@ public class SearchController(PgsqlContext context) : Controller
|
|||||||
/// <param name="id">Manga-Connector-ID</param>
|
/// <param name="id">Manga-Connector-ID</param>
|
||||||
/// <param name="name">Name/Title of the Manga</param>
|
/// <param name="name">Name/Title of the Manga</param>
|
||||||
/// <returns>Manga</returns>
|
/// <returns>Manga</returns>
|
||||||
[HttpPost("Connector/{id}/Manga/{name}")]
|
[HttpPost("{id}/{name}")]
|
||||||
[ProducesResponseType<Manga[]>(Status200OK)]
|
[ProducesResponseType<Manga[]>(Status200OK)]
|
||||||
[ProducesResponseType<ProblemResponse>(Status404NotFound)]
|
[ProducesResponseType<ProblemResponse>(Status404NotFound)]
|
||||||
[ProducesResponseType<ProblemResponse>(Status500InternalServerError)]
|
[ProducesResponseType<ProblemResponse>(Status500InternalServerError)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user