summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-06 19:30:03 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-06 19:30:03 +1100
commit98d318fd88cc42d290add88a81b2d5d5915de019 (patch)
treebbf740cd8154144956f17a0c0251428efb569949 /package.json
parentDon't allow BaseClass props through schema (diff)
downloadserver-98d318fd88cc42d290add88a81b2d5d5915de019.tar.xz
add back openapi generation. todo: find way to keep route text descriptions in code, and find way to get usages of right/permission .hasThrow
Diffstat (limited to 'package.json')
-rw-r--r--package.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json
index 2dfdfcb4..1a6b9f6f 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
 		"generate:client": "node scripts/client.js",
 		"generate:changelog": "node scripts/changelog.js",
 		"generate:migration": "node -r dotenv/config -r module-alias/register node_modules/typeorm/cli.js migration:generate -d dist/util/util/Database.js",
+		"generate:openapi": "node scripts/openapi.js",
 		"migrate-from-staging": "node -r dotenv/config -r module-alias/register scripts/stagingMigration/index.js"
 	},
 	"main": "dist/bundle/index.js",