History

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

Zuhal Didem Aytac committed 4 years ago

Commit f0f00581 parent d496a341 file · +1 −1Browse files

Showing the changes to example/basic (1 of 1 file). Show all

Unified · Split

example/basic/api/api.go+1−1
@@ -26,7 +26,7 @@ func GetStringByInt(c *gin.Context) { · 25 unmodified lines
2626 // @Produce json
2727 // @Param some_id path string true "Some ID"
2828 // @Param offset query int true "Offset"
29−// @Param limit query int true "Offset"
29+// @Param limit query int true "Limit"
3030 // @Success 200 {string} string "ok"
3131 // @Failure 400 {object} web.APIError "We need ID!!"
3232 // @Failure 404 {object} web.APIError "Can not find ID"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t