diff --git a/API/Controllers/ChaptersController.cs b/API/Controllers/ChaptersController.cs index d03b0e7..ad28381 100644 --- a/API/Controllers/ChaptersController.cs +++ b/API/Controllers/ChaptersController.cs @@ -186,7 +186,7 @@ public class ChaptersController(MangaContext context) : Controller /// .Key /// /// with not found - [HttpGet("{ChapterId}")] + [HttpGet("WithId/{ChapterId}")] [ProducesResponseType(Status200OK, "application/json")] [ProducesResponseType(Status404NotFound, "text/plain")] public async Task, NotFound>> GetChapter (string ChapterId) diff --git a/API/openapi/API_v2.json b/API/openapi/API_v2.json index dae813a..5e5b41b 100644 --- a/API/openapi/API_v2.json +++ b/API/openapi/API_v2.json @@ -335,7 +335,7 @@ } } }, - "/v2/Chapters/{ChapterId}": { + "/v2/Chapters/WithId/{ChapterId}": { "get": { "tags": [ "Chapters"