Show Gitea version in swagger (#14654)

Show Gitea version in swagger

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
techknowlogick 2021-02-12 15:51:56 -05:00 committed by GitHub
parent 9e852edc41
commit a3cc842e15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
//
// Schemes: http, https
// BasePath: /api/v1
// Version: 1.1.1
// Version: {{AppVer}}
// License: MIT http://opensource.org/licenses/MIT
//
// Consumes:

View file

@ -19,7 +19,7 @@
"name": "MIT",
"url": "http://opensource.org/licenses/MIT"
},
"version": "1.1.1"
"version": "{{AppVer}}"
},
"basePath": "{{AppSubUrl}}/api/v1",
"paths": {