feat: 添加过滤内部接口的脚本

This commit is contained in:
dayjoy
2025-10-11 11:07:18 +08:00
parent 339dccdaa5
commit b19b9f8b5f
2 changed files with 72 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "tsoa -c tsoaConfig.json spec-and-routes && tsc && tsc-alias",
"build": "tsoa -c tsoaConfig.json spec-and-routes && node scripts/clean-swagger.js && tsc && tsc-alias",
"serve": "yarn build && node ./build/index.js",
"start": "nodemon"
},