Browse Source

fix: replace pnpm with npx for generating OpenAPI operation IDs

Yuki Takei 10 months ago
parent
commit
8941d007d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/app/bin/openapi/generate-spec-apiv3.sh

+ 1 - 1
apps/app/bin/openapi/generate-spec-apiv3.sh

@@ -19,6 +19,6 @@ swagger-jsdoc \
   "${APP_PATH}/src/server/models/openapi/**/*.{js,ts}"
   "${APP_PATH}/src/server/models/openapi/**/*.{js,ts}"
 
 
 if [ $? -eq 0 ]; then
 if [ $? -eq 0 ]; then
-  pnpm dlx tsx "${APP_PATH}/bin/openapi/generate-operation-ids/cli.ts" "${OUT}" --out "${OUT}" --overwrite-existing
+  npx tsx "${APP_PATH}/bin/openapi/generate-operation-ids/cli.ts" "${OUT}" --out "${OUT}" --overwrite-existing
   echo "OpenAPI spec generated and transformed: ${OUT}"
   echo "OpenAPI spec generated and transformed: ${OUT}"
 fi
 fi