Config as per documentation:
const config: ConfigFile = {
schemaFile: 'https://petstore3.swagger.io/api/v3/openapi.json',
apiFile: './src/store/emptyApi.ts',
outputFiles: {
'./src/store/user.ts': {
filterEndpoints: [/user/i],
},
'./src/store/store.ts': {
filterEndpoints: [/store/i],
},
'./src/store/pet.ts': {
filterEndpoints: [/pet/i],
},
},
}
Note that instead of using /order I would like to use the path /store (which contains order and inventory in the demo).
In this case the endpoints for /store are not generated (user and pet works)