Skip to content

Commit c024d5d

Browse files
committed
chore(openapi): invoke generator via npx
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 63a1832 commit c024d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "NODE_ENV=production vite --mode production build",
1010
"dev": "NODE_ENV=development vite --mode development build",
1111
"screenshots:refresh": "node playwright/generate-screenshots.mjs",
12-
"typescript:generate": "mkdir -p src/types/openapi && openapi-typescript openapi.json -o src/types/openapi/openapi.ts && openapi-typescript openapi-administration.json -o src/types/openapi/openapi-administration.ts && openapi-typescript openapi-full.json -o src/types/openapi/openapi-full.ts",
12+
"typescript:generate": "mkdir -p src/types/openapi && npx openapi-typescript openapi.json -o src/types/openapi/openapi.ts && npx openapi-typescript openapi-administration.json -o src/types/openapi/openapi-administration.ts && npx openapi-typescript openapi-full.json -o src/types/openapi/openapi-full.ts",
1313
"watch": "NODE_ENV=development vite --mode development build --watch",
1414
"test": "vitest run",
1515
"test:watch": "vitest",

0 commit comments

Comments
 (0)