Skip to content

Commit a3cc842

Browse files
techknowlogick6543
andauthored
Show Gitea version in swagger (#14654)
Show Gitea version in swagger Co-authored-by: 6543 <[email protected]>
1 parent 9e852ed commit a3cc842

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

routers/api/v1/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//
1010
// Schemes: http, https
1111
// BasePath: /api/v1
12-
// Version: 1.1.1
12+
// Version: {{AppVer}}
1313
// License: MIT http://opensource.org/licenses/MIT
1414
//
1515
// Consumes:

templates/swagger/v1_json.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"name": "MIT",
2020
"url": "http://opensource.org/licenses/MIT"
2121
},
22-
"version": "1.1.1"
22+
"version": "{{AppVer}}"
2323
},
2424
"basePath": "{{AppSubUrl}}/api/v1",
2525
"paths": {

0 commit comments

Comments
 (0)