We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745912e commit 6267a8bCopy full SHA for 6267a8b
examples/react-app/package.json
@@ -9,13 +9,14 @@
9
"dev:mock": "prism mock ./petstore.yaml --dynamic",
10
"build": "tsc && vite build",
11
"preview": "vite preview",
12
- "generate:api": "node ../../dist/cli.mjs -i ./petstore.yaml -c axios --request ./request.ts",
+ "generate:api": "node ../../dist/cli.mjs -i ./openapi.yml",
13
"test:generated": "tsc -p ./tsconfig.openapi.json --noEmit"
14
},
15
"dependencies": {
16
"@tanstack/react-query": "^5.18.1",
17
"axios": "^1.6.7",
18
"form-data": "~4.0.0",
19
+ "prettier": "^3.2.5",
20
"react": "^18.2.0",
21
"react-dom": "^18.2.0"
22
0 commit comments