Improving swagger doc @ Feature/timetracker (#69)

* Changing swagger:response to swagger:parameters

* Moving in:body to Time
This commit is contained in:
Jonas Franz 2017-08-13 22:36:03 +02:00 committed by Lauris BH
parent 90a25c110c
commit 82df6bc38d
1 changed files with 2 additions and 1 deletions

View File

@ -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"`
}