Releases: hey-api/openapi-ts
@hey-api/openapi-ts@0.82.1
Patch Changes
-
#2541
ad3c633
Thanks @ixnas! - feat(typescript): addtypescript-const
toenums.mode
for generating TypeScript enums as constants -
#2556
74c16f2
Thanks @carson2222! - fix(parser): prunerequired
array after removing properties -
#2559
5012a72
Thanks @jgoz! - fix(output): avoid appending.gen
to file names multiple times whenoutput.clean
isfalse
@hey-api/openapi-ts@0.82.0
Minor Changes
-
#2505
97c57f6
Thanks @SebastiaanWouters! - feat(parser): add Hooks APIAdded Hooks API
This release adds the Hooks API, giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher.
export default { input: 'hey-api/backend', // sign up at app.heyapi.dev output: 'src/client', parser: { hooks: { operations: { isQuery: (op) => (op.method === 'post' ? true : undefined), }, }, }, };
Patch Changes
-
#2542
c12f7c7
Thanks @mrlubos! - fix(client): pass fetch option to sse client -
#2505
80dc015
Thanks @SebastiaanWouters! - feat(plugin): add@pinia/colada
plugin -
#2535
efdeedc
Thanks @alexedme! - feat(client): added angular, axios, fetch, next & nuxt client type export for external typing purposes. -
#2544
d4cd30e
Thanks @carson2222! - fix(parser): improve handling multiple references to shared external variable -
#2519
95f00fa
Thanks @volesen! - fix(client): improve empty response body handling -
#1680
9e4cc3d
Thanks @josh-hemphill! - feat(plugin): add@pinia/colada
plugin -
#2530
8d1cfc4
Thanks @carson2222! - fix(parser): improvereadWrite
transformer splitting logic -
#2523
7f6de44
Thanks @carson2222! - fix(parser): handlepatternProperties
in OpenAPI 3.1
@hey-api/openapi-ts@0.81.1
Patch Changes
-
#2516
c71d5db
Thanks @mrlubos! - feat(typescript): add webhooks configuration options -
#2515
b81051e
Thanks @malcolm-kee! - fix(parser): correctly handle schema extending discriminated schema -
#2513
34fa59f
Thanks @mrlubos! - fix(client): move sse functions into their own namespace -
#2516
c71d5db
Thanks @mrlubos! - feat(validator): add webhooks configuration options -
#2516
c71d5db
Thanks @mrlubos! - feat(parser): handle webhooks in OpenAPI 3.1
@hey-api/openapi-ts@0.81.0
@hey-api/openapi-ts@0.80.18
Patch Changes
- #2502
ac7efbf
Thanks @malcolm-kee! - fix(parser): OpenAPI 3.1 parser handles multipletype
values
@hey-api/openapi-ts@0.80.17
Patch Changes
- #2500
98d7bc3
Thanks @max-scopp! - fix(client): Angular client correctly applies default GET method
@hey-api/openapi-ts@0.80.16
Patch Changes
-
#2490
03f37ea
Thanks @mrlubos! - fix(client): Nuxt client receives raw body in request validators -
#2479
4038e1c
Thanks @dracomithril! - fix(parser): deduplicate security schemas based on name -
#2489
9bfbb63
Thanks @mrlubos! - feat(parser): input supports Hey API Registry shorthand -
#2485
e074a36
Thanks @bombillazo! - feat(parser): input supports ReadMe API Registry withreadme:
prefix -
#2491
ce602fe
Thanks @mrlubos! - feat(parser): input supports Scalar API Registry withscalar:
prefix