aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index e46d37173b..0f26943da1 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -15473,6 +15473,10 @@
"format": "date-time",
"x-go-name": "Created"
},
+ "duration": {
+ "type": "string",
+ "x-go-name": "Duration"
+ },
"issue_index": {
"type": "integer",
"format": "int64",
@@ -15489,6 +15493,11 @@
"repo_owner_name": {
"type": "string",
"x-go-name": "RepoOwnerName"
+ },
+ "seconds": {
+ "type": "integer",
+ "format": "int64",
+ "x-go-name": "Seconds"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"