Minor Changes
-
#2141
557769d
Thanks @mrlubos! - feat(sdk): addclassStructure
option supporting dot or slashoperationId
notation when generating class-based SDKsAdded
sdk.classStructure
optionWhen generating class-based SDKs, we now try to infer the ideal structure using
operationId
keywords. If you'd like to preserve the previous behavior, setclassStructure
tooff
.export default { input: 'https://get.heyapi.dev/hey-api/backend', output: 'src/client', plugins: [ // ...other plugins { classStructure: 'off', name: '@hey-api/sdk', }, ], };
Patch Changes
-
#2151
0ea8130
Thanks @mrlubos! - fix: add crash report prompt -
#2153
b272bd9
Thanks @mrlubos! - fix(parser): handlepropertyNames
keyword -
#2152
6d5ad37
Thanks @mrlubos! - fix(validators): correctly generate default value forBigInt
-
#2151
aef80c3
Thanks @mrlubos! - fix(typescript): handle nested inline objects with write/read only fields