summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJochen Peters <no-go-nix@outlook.com>2020-09-05 13:58:33 +0200
committerGitHub <noreply@github.com>2020-09-05 12:58:33 +0100
commit385433d2f4522690ae01ff262e6c8952d88d75af (patch)
tree7e088323352588cb980322858d5417b6b05b3e8b /templates
parentdba5d82f86dc9dc757404f03bf80ebbe28a5a0b1 (diff)
downloadgitea-385433d2f4522690ae01ff262e6c8952d88d75af.tar.gz
gitea-385433d2f4522690ae01ff262e6c8952d88d75af.zip
additional data for type StopWatch in swagger api (#12458)
* additional data for type StopWatch in swagger api * fix lint-backend issue with gofmt * fix format in v1_json with 'make generate-swagger' * using issue.LoadRepo() instead of getRepositoryByID() Co-authored-by: jochen@homeland <no-go@localhost> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 3c563aa673..09acd3a0a5 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -14698,6 +14698,18 @@
"type": "integer",
"format": "int64",
"x-go-name": "IssueIndex"
+ },
+ "issue_title": {
+ "type": "string",
+ "x-go-name": "IssueTitle"
+ },
+ "repo_name": {
+ "type": "string",
+ "x-go-name": "RepoName"
+ },
+ "repo_owner_name": {
+ "type": "string",
+ "x-go-name": "RepoOwnerName"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"