Releases: hey-api/openapi-ts
@hey-api/[email protected]
Patch Changes
- #2159
87b2d6c
Thanks @Joshua-hypt! - fix(zod): handle array union types
@hey-api/[email protected]
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
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
Patch Changes
-
#2139
0c27937
Thanks @mrlubos! - fix(parser): skip schema if it's an array or tuple and its items don't have any matching readable or writable scopes -
#2140
54049fe
Thanks @mrlubos! - fix(parser): validate operationId keyword -
#2137
058dbc9
Thanks @mrlubos! - fix(parser): respect exportFromIndex option when using legacy clients
@hey-api/[email protected]
Minor Changes
Patch Changes
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
Patch Changes
-
#2110
323a966
Thanks @mrlubos! - feat(parser): add validate_EXPERIMENTAL option -
#2114
55980f5
Thanks @mrlubos! - fix(validators): do not wrap regular expression in slashes if the pattern is already wrapped -
#2115
a94d3c0
Thanks @mrlubos! - fix(tanstack-query): create a shallow copy of queryKey in createInfiniteParams function