Skip to content

Commit 9b2eeea

Browse files
committed
release: v1.8.2
1 parent 7edcf03 commit 9b2eeea

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.7.1
1+
1.8.2

docs/swagger-enhanced.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ swagger: "2.0"
22
info:
33
title: "FileCodeBox API"
44
description: "FileCodeBox 是一个用于文件分享和代码片段管理的 Web 应用程序"
5-
version: "1.7.1"
5+
version: "1.8.2"
66
termsOfService: "http://swagger.io/terms/"
77
contact:
88
name: "API Support"
@@ -69,7 +69,7 @@ paths:
6969
example: "2025-09-11T10:00:00Z"
7070
version:
7171
type: "string"
72-
example: "1.7.1"
72+
example: "1.8.2"
7373
uptime:
7474
type: "string"
7575
example: "2h30m15s"

docs/swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"name": "MIT",
1414
"url": "https://github.com/zy84338719/filecodebox/blob/main/LICENSE"
1515
},
16-
"version": "1.7.1"
16+
"version": "1.8.2"
1717
},
1818
"host": "localhost:12345",
1919
"basePath": "/",
@@ -553,7 +553,7 @@
553553
},
554554
"version": {
555555
"type": "string",
556-
"example": "1.7.1"
556+
"example": "1.8.2"
557557
}
558558
}
559559
},

docs/swagger.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ definitions:
1212
example: 2h30m15s
1313
type: string
1414
version:
15-
example: 1.7.1
15+
example: 1.8.2
1616
type: string
1717
type: object
1818
handlers.SystemConfig:
@@ -57,7 +57,7 @@ info:
5757
url: https://github.com/zy84338719/filecodebox/blob/main/LICENSE
5858
termsOfService: http://swagger.io/terms/
5959
title: FileCodeBox API
60-
version: "1.7.1"
60+
version: "1.8.2"
6161
paths:
6262
/api/config:
6363
get:

internal/handlers/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func NewAPIHandler(manager *config.ConfigManager) *APIHandler {
2929
type HealthResponse struct {
3030
Status string `json:"status" example:"ok"`
3131
Timestamp string `json:"timestamp" example:"2025-09-11T10:00:00Z"`
32-
Version string `json:"version" example:"1.7.1"`
32+
Version string `json:"version" example:"1.8.2"`
3333
Uptime string `json:"uptime" example:"2h30m15s"`
3434
}
3535

internal/models/service/system.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var (
1919
GitBranch = "unknown"
2020

2121
// Version 应用版本号
22-
Version = "1.7.1"
22+
Version = "1.8.2"
2323
)
2424

2525
// BuildInfo 构建信息结构体

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
// @title FileCodeBox API
4-
// @version 1.7.1
4+
// @version 1.8.2
55
// @description FileCodeBox 是一个用于文件分享和代码片段管理的 Web 应用程序
66
// @termsOfService http://swagger.io/terms/
77

0 commit comments

Comments
 (0)