diff options
Diffstat (limited to 'modules/structs/repo_commit.go')
-rw-r--r-- | modules/structs/repo_commit.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/structs/repo_commit.go b/modules/structs/repo_commit.go index 088ccdf5af..b9607b185b 100644 --- a/modules/structs/repo_commit.go +++ b/modules/structs/repo_commit.go @@ -20,6 +20,8 @@ type Identity struct { type CommitMeta struct { URL string `json:"url"` SHA string `json:"sha"` + // swagger:strfmt date-time + Created time.Time `json:"created"` } // CommitUser contains information of a user in the context of a commit. |