···11+---
22+"@hey-api/openapi-ts": minor
33+---
44+55+feat: replace postfixServices with configuration object
+16-4
docs/openapi-ts/migrating.md
···40404141This config option is deprecated and will be removed.
42424343-### Deprecated `postfixServices`
4444-4545-This config option is deprecated and will be removed.
4646-4743### Deprecated `request`
48444945This config option is deprecated and will be removed.
···5147### Deprecated `name`
52485349This config option is deprecated and will be removed.
5050+5151+## v0.41.0
5252+5353+### Removed `postfixServices`
5454+5555+This config option has been removed. You can now transform service names using the string pattern parameter.
5656+5757+```js{5}
5858+export default {
5959+ input: 'path/to/openapi.json',
6060+ output: 'src/client',
6161+ services: {
6262+ name: 'myAwesome{{name}}Api',
6363+ },
6464+}
6565+```
54665567## v0.40.0
5668
+2-3
packages/openapi-ts/bin/index.cjs
···2929 .option('--dry-run [value]', 'Skip writing files to disk?')
3030 .option('--enums <value>', 'Export enum definitions (javascript, typescript)')
3131 .option('--exportCore [value]', 'Write core files to disk')
3232- .option('--exportServices [value]', 'Write services to disk')
3332 .option('--format [value]', 'Process output folder with formatter?')
3433 .option('--lint [value]', 'Process output folder with linter?')
3534 .option('--name <value>', 'Custom client class name')
3635 .option('--operationId [value]', 'Use operationd ID?')
3737- .option('--postfixServices <value>', 'Service name postfix')
3836 .option('--request <value>', 'Path to custom request file')
3937 .option('--schemas [value]', 'Write schemas to disk')
4038 .option(
4139 '--serviceResponse [value]',
4240 'Define shape of returned value from service calls',
4341 )
4242+ .option('--services [value]', 'Write services to disk')
4443 .option('--types [value]', 'Write types to disk')
4544 .option(
4645 '--useDateType [value]',
···8180 userConfig = processParams(params, [
8281 'dryRun',
8382 'exportCore',
8484- 'exportServices',
8583 'format',
8684 'lint',
8785 'operationId',
8886 'schemas',
8787+ 'services',
8988 'types',
9089 'useDateType',
9190 'useOptions',