···11----
22-'@hey-api/openapi-ts': minor
33----
44-55-refactor(plugin): add `DefinePlugin` utility types
66-77-### Updated Plugin API
88-99-Please refer to the [custom plugin](https://heyapi.dev/openapi-ts/plugins/custom) tutorial for the latest guide.
-26
.changeset/quick-hotels-knock.md
···11----
22-'@hey-api/openapi-ts': minor
33----
44-55-feat(sdk): update `validator` option
66-77-### Updated `sdk.validator` option
88-99-Clients can now validate both request and response data. As a result, passing a boolean or string to `validator` will control both of these options. To preserve the previous behavior, set `validator.request` to `false` and `validator.response` to your previous configuration.
1010-1111-```js
1212-export default {
1313- input: 'https://get.heyapi.dev/hey-api/backend',
1414- output: 'src/client',
1515- plugins: [
1616- // ...other plugins
1717- {
1818- name: '@hey-api/sdk',
1919- validator: {
2020- request: false,
2121- response: true,
2222- },
2323- },
2424- ],
2525-};
2626-```