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 bb7f355 commit 07bc2b4Copy full SHA for 07bc2b4
examples/react-app/package.json
@@ -9,7 +9,7 @@
9
"dev:mock": "prism mock ./petstore.yaml",
10
"build": "tsc && vite build",
11
"preview": "vite preview",
12
- "generate:api": "codegen -p ./petstore.yaml",
+ "generate:api": "openapi-rq -p ./petstore.yaml",
13
"test:generated": "npm run generate:api && tsc ./openapi/queries/index.ts --noEmit --target esnext --moduleResolution node"
14
},
15
"dependencies": {
package.json
@@ -3,7 +3,7 @@
3
"version": "0.0.1",
4
"description": "OpenAPI React Query Codegen",
5
"bin": {
6
- "codegen": "src/cli.js"
+ "openapi-rq": "src/cli.js"
7
8
"scripts": {
"build": "tsc -p tsconfig.json",
0 commit comments