mirror of
https://github.com/go-gitea/gitea
synced 2025-09-28 03:28:13 +00:00
Upgrade golang to 1.25.1 and add descriptions for the swagger structs' fields (#35418)
This commit is contained in:
@@ -20,6 +20,7 @@ type AddTimeOption struct {
|
||||
|
||||
// TrackedTime worked time for an issue / pr
|
||||
type TrackedTime struct {
|
||||
// ID is the unique identifier for the tracked time entry
|
||||
ID int64 `json:"id"`
|
||||
// swagger:strfmt date-time
|
||||
Created time.Time `json:"created"`
|
||||
@@ -30,8 +31,9 @@ type TrackedTime struct {
|
||||
// username of the user
|
||||
UserName string `json:"user_name"`
|
||||
// deprecated (only for backwards compatibility)
|
||||
IssueID int64 `json:"issue_id"`
|
||||
Issue *Issue `json:"issue"`
|
||||
IssueID int64 `json:"issue_id"`
|
||||
// Issue contains the associated issue information
|
||||
Issue *Issue `json:"issue"`
|
||||
}
|
||||
|
||||
// TrackedTimeList represents a list of tracked times
|
||||
|
Reference in New Issue
Block a user