From cd758af6d7e7325033fc44d317c60be2239d12c8 Mon Sep 17 00:00:00 2001 From: Zuhal Didem Aytac <48058901+zudiay@users.noreply.github.com> Date: Mon, 5 Sep 2022 15:33:09 +0300 Subject: [PATCH] fix typo in gin-swagger parameter --- example/basic/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/basic/api/api.go b/example/basic/api/api.go index 036e0d9..d1783be 100644 --- a/example/basic/api/api.go +++ b/example/basic/api/api.go @@ -26,7 +26,7 @@ func GetStringByInt(c *gin.Context) { // @Produce json // @Param some_id path string true "Some ID" // @Param offset query int true "Offset" -// @Param limit query int true "Offset" +// @Param limit query int true "Limit" // @Success 200 {string} string "ok" // @Failure 400 {object} web.APIError "We need ID!!" // @Failure 404 {object} web.APIError "Can not find ID"