diff options
author | Jochen Peters <no-go-nix@outlook.com> | 2020-09-05 13:58:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-05 12:58:33 +0100 |
commit | 385433d2f4522690ae01ff262e6c8952d88d75af (patch) | |
tree | 7e088323352588cb980322858d5417b6b05b3e8b /templates | |
parent | dba5d82f86dc9dc757404f03bf80ebbe28a5a0b1 (diff) | |
download | gitea-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.tmpl | 12 |
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" |