mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-15 09:50:44 +02:00
Fix ambigous endpoints
This commit is contained in:
@@ -205,7 +205,7 @@ public class ChaptersController(MangaContext context) : Controller
|
||||
/// <param name="MangaConnectorIdId">Key of <see cref="MangaConnectorId{Chapter}"/></param>
|
||||
/// <response code="200"></response>
|
||||
/// <response code="404"><see cref="MangaConnectorId{Manga}"/> with <paramref name="MangaConnectorIdId"/> not found</response>
|
||||
[HttpGet("{MangaConnectorIdId}")]
|
||||
[HttpGet("ConnectorId/{MangaConnectorIdId}")]
|
||||
[ProducesResponseType<MangaConnectorId>(Status200OK, "application/json")]
|
||||
[ProducesResponseType<string>(Status404NotFound, "text/plain")]
|
||||
public async Task<Results<Ok<MangaConnectorId>, NotFound<string>>> GetChapterMangaConnectorId (string MangaConnectorIdId)
|
||||
|
@@ -381,7 +381,7 @@ public class MangaController(MangaContext context) : Controller
|
||||
/// <param name="MangaConnectorIdId">Key of <see cref="MangaConnectorId{Manga}"/></param>
|
||||
/// <response code="200"></response>
|
||||
/// <response code="404"><see cref="MangaConnectorId{Manga}"/> with <paramref name="MangaConnectorIdId"/> not found</response>
|
||||
[HttpGet("{MangaConnectorIdId}")]
|
||||
[HttpGet("ConnectorId/{MangaConnectorIdId}")]
|
||||
[ProducesResponseType<MangaConnectorId>(Status200OK, "application/json")]
|
||||
[ProducesResponseType<string>(Status404NotFound, "text/plain")]
|
||||
public async Task<Results<Ok<MangaConnectorId>, NotFound<string>>> GetMangaMangaConnectorId (string MangaConnectorIdId)
|
||||
|
Reference in New Issue
Block a user