File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ import { ConfigFile } from '@rtk-query/codegen-openapi'
49
49
const config: ConfigFile = {
50
50
schemaFile: ' https://petstore3.swagger.io/api/v3/openapi.json' ,
51
51
apiFile: ' ./src/store/emptyApi.ts' ,
52
- apiImport: ' emptyApi ' ,
52
+ apiImport: ' emptySplitApi ' ,
53
53
outputFile: ' ./src/store/petApi.ts' ,
54
54
exportName: ' petApi' ,
55
55
hooks: true ,
@@ -141,13 +141,13 @@ const config: ConfigFile = {
141
141
schemaFile: ' https://petstore3.swagger.io/api/v3/openapi.json' ,
142
142
apiFile: ' ./src/store/emptyApi.ts' ,
143
143
outputFiles: {
144
- ' ./src/store/user.js ' : {
144
+ ' ./src/store/user.ts ' : {
145
145
filterEndpoints: [/ user/ i ],
146
146
},
147
- ' ./src/store/order.js ' : {
147
+ ' ./src/store/order.ts ' : {
148
148
filterEndpoints: [/ order/ i ],
149
149
},
150
- ' ./src/store/pet.js ' : {
150
+ ' ./src/store/pet.ts ' : {
151
151
filterEndpoints: [/ pet/ i ],
152
152
},
153
153
},
You can’t perform that action at this time.
0 commit comments