mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 11:52:10 +00:00
[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:
parent
382936a668
commit
aceb1085c7
9 changed files with 482 additions and 141 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue