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/api (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
26// @Produce json26// @Produce json
27// @Param some_id path string true "Some ID"27// @Param some_id path string true "Some ID"
28// @Param offset query int true "Offset"28// @Param offset query int true "Offset"
29// @Param limit query int true "Offset"29// @Param limit query int true "Limit"
30// @Success 200 {string} string "ok"30// @Success 200 {string} string "ok"
31// @Failure 400 {object} web.APIError "We need ID!!"31// @Failure 400 {object} web.APIError "We need ID!!"
32// @Failure 404 {object} web.APIError "Can not find ID"32// @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