Releases: hey-api/openapi-ts
@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
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
Minor Changes
-
#1387
7c4335d
Thanks @mrlubos! - feat: addlogs.level
optionAdded
logs.level
optionYou can now configure different log levels. As part of this feature, we had to introduce a breaking change by moving the
debug
option tologs.level
. This will affect you if you're calling@hey-api/openapi-ts
from Node.js (not CLI) or using the configuration file.export default { client: '@hey-api/client-fetch', debug: true, // [!code --] input: 'path/to/openapi.json', logs: { level: 'debug', // [!code ++] }, output: 'src/client', };
-
#1389
f4c98ec
Thanks @mrlubos! - feat: remove@hey-api/schemas
from default pluginsUpdated default
plugins
@hey-api/schemas
has been removed from the default plugins. To continue using it, add it to your plugins array.import { defaultPlugins } from '@hey-api/openapi-ts'; export default { client: '@hey-api/client-fetch', experimentalParser: true, input: 'path/to/openapi.json', output: 'src/client', plugins: [ ...defaultPlugins, '@hey-api/schemas', // [!code ++] ], };
Patch Changes
-
#1382
3580c1e
Thanks @mrlubos! - fix: correctly resolve required properties in nested allOf composition -
#1387
7c4335d
Thanks @mrlubos! - fix: add--silent
or-s
CLI option for silent log level -
#1382
3580c1e
Thanks @mrlubos! - fix: transformers handle allOf composition in experimental parser -
#1387
0def82c
Thanks @mrlubos! - feat: addlogs
configuration option to customize log directory -
#1390
8388c47
Thanks @mrlubos! - fix: allow arbitrary object properties when additionalProperties is undefined -
#1387
7c4335d
Thanks @mrlubos! - fix: supportDEBUG
environment variable