summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-09-05 19:38:54 +0200
committerGitHub <noreply@github.com>2020-09-05 13:38:54 -0400
commit1ea1cade8559e1d2aa75916c0dbfe31903423101 (patch)
treebcbf57e73c97b741f2c710804acb0b392fe71e79 /templates/swagger
parent74047864202f2b34ded176597ca0b94034665b52 (diff)
downloadgitea-1ea1cade8559e1d2aa75916c0dbfe31903423101.tar.gz
gitea-1ea1cade8559e1d2aa75916c0dbfe31903423101.zip
Add Created & Updated to Milestone (#12662)
* Add Created and Updated to Milestone table and expose via API * Expose to UI - To Overloaded ?!? * fix unit test Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 09acd3a0a5..8381ebe774 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -13613,6 +13613,11 @@
"format": "int64",
"x-go-name": "ClosedIssues"
},
+ "created_at": {
+ "type": "string",
+ "format": "date-time",
+ "x-go-name": "Created"
+ },
"description": {
"type": "string",
"x-go-name": "Description"
@@ -13638,6 +13643,11 @@
"title": {
"type": "string",
"x-go-name": "Title"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time",
+ "x-go-name": "Updated"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"