Showing the changes to example/basic/api (1 of 1 file). Show all
Unified · Split
| @@ -26,7 +26,7 @@ func GetStringByInt(c *gin.Context) { · 25 unmodified lines | |||
| 26 | // @Produce json | 26 | // @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" |