mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 13:46:38 +08:00
两处真实质量修复:(1) 过期 swagger 文档重新生成(status_2xx/4xx/5xx_count 字段随 a4dd5ca9 加入后未同步 docs,违反 repo 约定,swag init 后差异仅真实新增字段);(2) generate-themes.js 输出补尾换行,themes.json 构建可复现(此前每次 build 弄脏工作树)。验证 next build 成功、musttag/tagalign 调查无真实问题。
Result: {"status":"keep","total_issues":8,"golint_canonicalheader":0,"golint_errname":0,"golint_errorlint":1,"golint_exhaustive":0,"golint_forcetypeassert":0,"golint_gosec":0,"golint_intrange":0,"golint_modernize":3,"golint_nilnil":3,"golint_perfsprint":0,"golint_prealloc":0,"golint_recvcheck":1,"golint_usestdlibvars":0,"golint_wastedassign":0,"golint_total":8,"golint_test_testifylint":0,"golint_test_thelper":0,"golint_test_usetesting":0,"golint_test_total":0,"golint_vetx_total":0,"eslint_problems":0,"eslint_errors":0,"eslint_warnings":0,"tsc_errors":0,"vitest_failed":0,"vitest_total":116,"measure_s":86}
This commit is contained in:
+10
-1
@@ -15582,7 +15582,7 @@ const docTemplate = `{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
"additionalProperties": {}
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
@@ -18403,6 +18403,15 @@ const docTemplate = `{
|
||||
"request_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"status_2xx_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"status_4xx_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"status_5xx_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"unique_visitor_count": {
|
||||
"type": "integer"
|
||||
}
|
||||
|
||||
+10
-1
@@ -15575,7 +15575,7 @@
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
"additionalProperties": {}
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
@@ -18396,6 +18396,15 @@
|
||||
"request_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"status_2xx_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"status_4xx_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"status_5xx_count": {
|
||||
"type": "integer"
|
||||
},
|
||||
"unique_visitor_count": {
|
||||
"type": "integer"
|
||||
}
|
||||
|
||||
+7
-1
@@ -645,7 +645,7 @@ definitions:
|
||||
type: integer
|
||||
results:
|
||||
items:
|
||||
additionalProperties: true
|
||||
additionalProperties: {}
|
||||
type: object
|
||||
type: array
|
||||
type:
|
||||
@@ -2515,6 +2515,12 @@ definitions:
|
||||
type: integer
|
||||
request_count:
|
||||
type: integer
|
||||
status_2xx_count:
|
||||
type: integer
|
||||
status_4xx_count:
|
||||
type: integer
|
||||
status_5xx_count:
|
||||
type: integer
|
||||
unique_visitor_count:
|
||||
type: integer
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user