summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2021-02-12 15:51:56 -0500
committerGitHub <noreply@github.com>2021-02-12 21:51:56 +0100
commita3cc842e15eb5ed42c3125410d9c774314a286a5 (patch)
tree24481a6c273c05b5248200e34f25fe05ba5939a8 /templates
parent9e852edc41a4d0b788a93678775ecf2e97fa1adf (diff)
downloadgitea-a3cc842e15eb5ed42c3125410d9c774314a286a5.tar.gz
gitea-a3cc842e15eb5ed42c3125410d9c774314a286a5.zip
Show Gitea version in swagger (#14654)
Show Gitea version in swagger Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 94493749af..2dedb56d1e 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -19,7 +19,7 @@
"name": "MIT",
"url": "http://opensource.org/licenses/MIT"
},
- "version": "1.1.1"
+ "version": "{{AppVer}}"
},
"basePath": "{{AppSubUrl}}/api/v1",
"paths": {