Skip to content

Commit

Permalink
fix: typo in gin-swagger parameter (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
zudiay authored Sep 6, 2022
1 parent d496a34 commit f0f0058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/basic/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f0f0058

Please sign in to comment.