File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed
Expand file tree Collapse file tree 7 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1- 1.7.1
1+ 1.8.2
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ swagger: "2.0"
22info :
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"
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"
Original file line number Diff line number Diff line change 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" : " /" ,
553553 },
554554 "version" : {
555555 "type" : " string" ,
556- "example" : " 1.7.1 "
556+ "example" : " 1.8.2 "
557557 }
558558 }
559559 },
Original file line number Diff line number Diff 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 :
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 "
6161paths :
6262 /api/config :
6363 get :
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ func NewAPIHandler(manager *config.ConfigManager) *APIHandler {
2929type 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
Original file line number Diff line number Diff line change 1919 GitBranch = "unknown"
2020
2121 // Version 应用版本号
22- Version = "1.7.1 "
22+ Version = "1.8.2 "
2323)
2424
2525// BuildInfo 构建信息结构体
Original file line number Diff line number Diff line change 11package 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
You can’t perform that action at this time.
0 commit comments