From f0f0058b14bc0ce8bb40dd2b74433cde1936901c Mon Sep 17 00:00:00 2001 From: Zuhal Didem Aytac <48058901+zudiay@users.noreply.github.com> Date: Tue, 6 Sep 2022 10:35:14 +0300 Subject: [PATCH] fix: typo in gin-swagger parameter (#235) --- 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"