Releases: hey-api/openapi-ts
@hey-api/openapi-ts@0.60.1
Patch Changes
-
#1468
20d7497
Thanks @mrlubos! - fix: handle indexed access checks -
#1469
a7608c2
Thanks @mrlubos! - fix: zod: generate patterns and improve plain schemas -
#1471
f86d293
Thanks @mrlubos! - fix: add links to the experimental parser callouts -
#1462
893d6ef
Thanks @mrlubos! - fix: update types for custom plugins so defineConfig does not throw -
#1457
bc03c37
Thanks @mrlubos! - fix: allow plugins to explicitly declare whether they should be re-exported from the index file
@hey-api/client-fetch@0.5.7
@hey-api/client-axios@0.3.4
@hey-api/client-fetch@0.5.6
@hey-api/client-axios@0.3.3
@hey-api/openapi-ts@0.60.0
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/client-fetch@0.5.5
@hey-api/client-axios@0.3.2
@hey-api/openapi-ts@0.59.2
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