Releases: hey-api/openapi-ts
Releases · hey-api/openapi-ts
@hey-api/[email protected]
@hey-api/[email protected]
Minor Changes
-
#1430
9cec9e8
Thanks @mrlubos! - fix: require sdk.transformer to use generated transformersAdded
sdk.transformer
optionWhen generating SDKs, you now have to specify
transformer
in order to modify response data. By default, adding@hey-api/transformers
to your plugins will only produce additional output. To preserve the previous functionality, setsdk.transformer
totrue
.import { defaultPlugins } from '@hey-api/openapi-ts'; export default { client: '@hey-api/client-fetch', input: 'path/to/openapi.json', output: 'src/client', plugins: [ ...defaultPlugins, { dates: true, name: '@hey-api/transformers', }, { name: '@hey-api/sdk', transformer: true, // [!code ++] }, ], };
Patch Changes
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
Patch Changes
-
#1420
8010dbb
Thanks @mrlubos! - fix: generate querySerializer options for Axios client -
#1419
4555796
Thanks @mrlubos! - fix: infer responseType in SDKs for axios client -
#1409
646064d
Thanks @mrlubos! - feat: support oauth2 and apiKey security schemes -
#1416
2a605b7
Thanks @mrlubos! - fix: zod plugin handles recursive schemas