Improving swagger doc @ Feature/timetracker (#69)
* Changing swagger:response to swagger:parameters * Moving in:body to Time
This commit is contained in:
parent
90a25c110c
commit
82df6bc38d
1 changed files with 2 additions and 1 deletions
|
@ -45,8 +45,9 @@ func (c *Client) GetMyTrackedTimes() (TrackedTimes, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// AddTimeOption adds time manually to an issue
|
// AddTimeOption adds time manually to an issue
|
||||||
// swagger:response AddTimeOption
|
// swagger:parameters addTime
|
||||||
type AddTimeOption struct {
|
type AddTimeOption struct {
|
||||||
|
// in: body
|
||||||
Time int64 `json:"time" binding:"Required"`
|
Time int64 `json:"time" binding:"Required"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue