mirror of
https://github.com/C9Glax/tranga.git
synced 2025-10-15 01:40: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>
|
/// <param name="MangaConnectorIdId">Key of <see cref="MangaConnectorId{Chapter}"/></param>
|
||||||
/// <response code="200"></response>
|
/// <response code="200"></response>
|
||||||
/// <response code="404"><see cref="MangaConnectorId{Manga}"/> with <paramref name="MangaConnectorIdId"/> not found</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<MangaConnectorId>(Status200OK, "application/json")]
|
||||||
[ProducesResponseType<string>(Status404NotFound, "text/plain")]
|
[ProducesResponseType<string>(Status404NotFound, "text/plain")]
|
||||||
public async Task<Results<Ok<MangaConnectorId>, NotFound<string>>> GetChapterMangaConnectorId (string MangaConnectorIdId)
|
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>
|
/// <param name="MangaConnectorIdId">Key of <see cref="MangaConnectorId{Manga}"/></param>
|
||||||
/// <response code="200"></response>
|
/// <response code="200"></response>
|
||||||
/// <response code="404"><see cref="MangaConnectorId{Manga}"/> with <paramref name="MangaConnectorIdId"/> not found</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<MangaConnectorId>(Status200OK, "application/json")]
|
||||||
[ProducesResponseType<string>(Status404NotFound, "text/plain")]
|
[ProducesResponseType<string>(Status404NotFound, "text/plain")]
|
||||||
public async Task<Results<Ok<MangaConnectorId>, NotFound<string>>> GetMangaMangaConnectorId (string MangaConnectorIdId)
|
public async Task<Results<Ok<MangaConnectorId>, NotFound<string>>> GetMangaMangaConnectorId (string MangaConnectorIdId)
|
||||||
|
@@ -3814,16 +3814,9 @@
|
|||||||
"instance": {
|
"instance": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"nullable": true
|
"nullable": true
|
||||||
},
|
|
||||||
"extensions": {
|
|
||||||
"type": "object",
|
|
||||||
"additionalProperties": {
|
|
||||||
"nullable": true
|
|
||||||
},
|
|
||||||
"nullable": true
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": { }
|
||||||
},
|
},
|
||||||
"TrangaSettings": {
|
"TrangaSettings": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
Reference in New Issue
Block a user