chore: openapi doc generator (#2644)

* chore: extract the type and comment from apis

* chore: template code

* feat: openapi

* pref: openapi generator. send into public/openapi folder
This commit is contained in:
Finley Ge
2024-09-09 15:43:09 +08:00
committed by GitHub
parent 5f3c8e9046
commit 78ad2791cd
12 changed files with 2214 additions and 24 deletions

View File

@@ -0,0 +1,21 @@
{
"name": "test",
"module": "index.js",
"scripts": {
"build": "tsc index.ts"
},
"devDependencies": {
"@babel/types": "^7.25.6",
"@types/babel__generator": "^7.6.8",
"@types/babel__traverse": "^7.20.6"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"@babel/generator": "^7.25.6",
"@babel/parser": "^7.25.6",
"@babel/traverse": "^7.25.6",
"babel": "^6.23.0"
}
}