aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/swagger/options.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2019-12-24 03:33:52 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2019-12-24 10:33:52 +0800
commit40e99ea010b3b0be241be0e1365a70d33777bcf2 (patch)
treecc7930e51a8ed41fcb183dae075d7ab211d06834 /routers/api/v1/swagger/options.go
parent017f314b5a0f930b477efa1c2a5309f8cdd6d3c3 (diff)
downloadgitea-40e99ea010b3b0be241be0e1365a70d33777bcf2.tar.gz
gitea-40e99ea010b3b0be241be0e1365a70d33777bcf2.zip
[API] Extend contents with dates (#9464)
* extend CommitTree func * make sure Date NOT nil * spell corection Co-Authored-By: zeripath <art27@cantab.net> * add TEST Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'routers/api/v1/swagger/options.go')
-rw-r--r--routers/api/v1/swagger/options.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/options.go b/routers/api/v1/swagger/options.go
index 80e4bf422a..74a475e275 100644
--- a/routers/api/v1/swagger/options.go
+++ b/routers/api/v1/swagger/options.go
@@ -119,5 +119,8 @@ type swaggerParameterBodies struct {
DeleteFileOptions api.DeleteFileOptions
// in:body
+ CommitDateOptions api.CommitDateOptions
+
+ // in:body
RepoTopicOptions api.RepoTopicOptions
}