[API] extend StopWatch (#9196)

* squash api-stopwatch

* fix prepair logic! + add Tests

* fix lint

* more robust time compare

* delete responce 202 -> 204

* change http responce in test too
This commit is contained in:
6543 2019-12-12 05:23:05 +01:00 committed by techknowlogick
parent 382936a668
commit aceb1085c7
9 changed files with 482 additions and 141 deletions

View file

@ -85,6 +85,20 @@ type swaggerIssueDeadline struct {
Body api.IssueDeadline `json:"body"`
}
// StopWatch
// swagger:response StopWatch
type swaggerResponseStopWatch struct {
// in:body
Body api.StopWatch `json:"body"`
}
// StopWatchList
// swagger:response StopWatchList
type swaggerResponseStopWatchList struct {
// in:body
Body []api.StopWatch `json:"body"`
}
// EditReactionOption
// swagger:response EditReactionOption
type swaggerEditReactionOption struct {