feat(api): Add api/version

Resolves #110
This commit is contained in:
lejianwen
2025-01-20 20:04:22 +08:00
parent 59038e27f8
commit 44fa22b7e5
8 changed files with 127 additions and 14 deletions

View File

@@ -1252,6 +1252,35 @@ const docTemplateapi = `{
}
}
}
},
"/version": {
"get": {
"description": "版本",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"首页"
],
"summary": "版本",
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/response.Response"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/response.Response"
}
}
}
}
}
},
"definitions": {