精简了openapi相关

This commit is contained in:
2026-09-01 23:36:07 +08:00
parent eed230aab0
commit 06884a920c
73 changed files with 465 additions and 1214 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
# 生成 SwaggerUIResources.cj:将 resources/openapi/ 下静态资源以 Base64 内联为 CJ 源常量。
# 生成 swagger_ui_resources.cj:将 resources/openapi/ 下静态资源以 Base64 内联为 CJ 源常量。
# 用法:pwsh tools/gen-swagger-ui-resources.ps1
# 资源更新后重新运行此脚本即可。
$ErrorActionPreference = "Stop"
$root = Split-Path -Parent $PSScriptRoot
$inDir = Join-Path $root "resources\openapi"
$outFile = Join-Path $root "src\openapi\SwaggerUIResources.cj"
$outFile = Join-Path $root "src\openapi\swagger_ui_resources.cj"
$files = @(
@{ Name = "allHtml"; File = "all.html" },