diff --git a/gitea/issue_tracked_time.go b/gitea/issue_tracked_time.go index 8b8b766..67b8a9b 100644 --- a/gitea/issue_tracked_time.go +++ b/gitea/issue_tracked_time.go @@ -45,8 +45,9 @@ func (c *Client) GetMyTrackedTimes() (TrackedTimes, error) { } // AddTimeOption adds time manually to an issue -// swagger:response AddTimeOption +// swagger:parameters addTime type AddTimeOption struct { + // in: body Time int64 `json:"time" binding:"Required"` }