You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/pretty-deers-change.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ refactor(config): replace 'off' with null to disable options
6
6
7
7
### Updated `output` options
8
8
9
-
We made the `output` configuration more consistent by using `null` to represent disabled options. This change does not affect boolean options.
9
+
We made the `output` configuration more consistent by using `null` to represent disabled options. [This change](https://heyapi.dev/openapi-ts/migrating#updated-output-options) does not affect boolean options.
Copy file name to clipboardExpand all lines: .changeset/refactor-pinia-colada-query.md
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,3 +7,44 @@ feat(pinia-colada): query options use `defineQueryOptions`
7
7
### Updated Pinia Colada query options
8
8
9
9
Pinia Colada query options now use `defineQueryOptions` to improve reactivity support. Instead of calling the query options function, you can use one of the [following approaches](https://heyapi.dev/openapi-ts/migrating#updated-pinia-colada-query-options).
Copy file name to clipboardExpand all lines: packages/openapi-ts/CHANGELOG.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ We ship a dedicated TypeScript renderer for `.ts` files. This release improves t
62
62
63
63
- fix(parser): bump support for OpenAPI 3.1.2 ([#2667](https://github.com/hey-api/openapi-ts/pull/2667)) ([`3511fb8`](https://github.com/hey-api/openapi-ts/commit/3511fb88cbe6b767b631af16336cb6c0722c3ff8)) by [@mrlubos](https://github.com/mrlubos)
64
64
65
-
- fix(config): add `output.fileName` option
65
+
- fix(config): add `output.fileName` option ([#2664](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/mrlubos)
66
66
67
67
## File Name
68
68
@@ -80,7 +80,7 @@ export default {
80
80
81
81
By default, we append every file name with a `.gen` suffix to highlight it's automatically generated. You can customize or disable this suffix using the `fileName.suffix` option.
82
82
83
-
````js
83
+
```js
84
84
export default {
85
85
input: 'hey-api/backend', // sign up at app.heyapi.dev
86
86
output: {
@@ -90,9 +90,10 @@ export default {
90
90
path: 'src/client',
91
91
},
92
92
};
93
-
``` ([#2664](https://github.com/hey-api/openapi-ts/pull/2664)) ([`e1ede9c`](https://github.com/hey-api/openapi-ts/commit/e1ede9cabf52b5bbcb9195570deff58db8f43dbb)) by [@mrlubos](https://github.com/mrlubos)
93
+
```
94
94
95
95
- fix(axios): remove duplicate `baseURL` when using relative values ([#2624](https://github.com/hey-api/openapi-ts/pull/2624)) ([`8ffceec`](https://github.com/hey-api/openapi-ts/commit/8ffceec89fe471d4e14df17a172f3d5a254eb819)) by [@Ben-Pfirsich](https://github.com/Ben-Pfirsich)
@@ -184,23 +185,23 @@ This option has been removed to provide a more consistent API across plugins. We
184
185
185
186
- [#2505](https://github.com/hey-api/openapi-ts/pull/2505) [`97c57f6`](https://github.com/hey-api/openapi-ts/commit/97c57f68af1f907f278707fb526289c73b33ea89) Thanks [@SebastiaanWouters](https://github.com/SebastiaanWouters)! - feat(parser): add Hooks API
186
187
187
-
### Added Hooks API
188
+
### Added Hooks API
188
189
189
-
This release adds the [Hooks API](https://heyapi.dev/openapi-ts/configuration/parser#hooks), 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.
190
+
This release adds the [Hooks API](https://heyapi.dev/openapi-ts/configuration/parser#hooks), 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.
190
191
191
-
```js
192
-
export default {
193
-
input: 'hey-api/backend', // sign up at app.heyapi.dev
0 commit comments