mirror of
https://github.com/QuotifyTeam/QuotifyBE.git
synced 2025-12-16 22:10:05 +01:00
fix: keep API path names consistent
This commit is contained in:
@@ -38,7 +38,7 @@ public class CategoryController : ControllerBase
|
|||||||
/// <param name="page_no">The page number</param>
|
/// <param name="page_no">The page number</param>
|
||||||
/// <response code="200">Returned on valid request</response>
|
/// <response code="200">Returned on valid request</response>
|
||||||
/// <response code="404">Returned when requested page is invalid (page_no <= 0)</response>
|
/// <response code="404">Returned when requested page is invalid (page_no <= 0)</response>
|
||||||
[HttpGet("{page_no}")]
|
[HttpGet("page/{page_no}")]
|
||||||
[EnableCors]
|
[EnableCors]
|
||||||
[ProducesResponseType(typeof(CategoryShortDTO), 200)]
|
[ProducesResponseType(typeof(CategoryShortDTO), 200)]
|
||||||
[ProducesResponseType(typeof(ErrorDTO), 404)]
|
[ProducesResponseType(typeof(ErrorDTO), 404)]
|
||||||
|
|||||||
Reference in New Issue
Block a user