mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Introduces the napcat-schema package with scripts and configuration to auto-generate OpenAPI schemas for NapCat OneBot 11 actions. Refactors action handler export in napcat-onebot to support schema extraction.
19 lines
383 B
JSON
19 lines
383 B
JSON
{
|
|
"name": "napcat-schema",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "index.ts",
|
|
"scripts": {
|
|
"generate:openapi": "node ./dist/schemas.mjs",
|
|
"build:schema": "vite build"
|
|
},
|
|
"dependencies": {
|
|
"@sinclair/typebox": "^0.34.38",
|
|
"napcat-onebot": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "^4.7.1",
|
|
"vite": "^6.0.0"
|
|
}
|
|
} |