fix: typo in gin-swagger parameter (#235)

This commit is contained in:
Zuhal Didem Aytac
2022-09-06 10:35:14 +03:00
committed by GitHub
parent d496a34906
commit f0f0058b14
+1 -1
View File
@@ -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"