fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #2240 from hey-api/changeset-release/main

Version Packages

authored by

Lubos and committed by
GitHub
3a39e0da f1416f5e

+38 -41
-9
.changeset/clever-jeans-end.md
··· 1 - --- 2 - '@hey-api/openapi-ts': minor 3 - --- 4 - 5 - refactor(plugin): add `DefinePlugin` utility types 6 - 7 - ### Updated Plugin API 8 - 9 - Please refer to the [custom plugin](https://heyapi.dev/openapi-ts/plugins/custom) tutorial for the latest guide.
-26
.changeset/quick-hotels-knock.md
··· 1 - --- 2 - '@hey-api/openapi-ts': minor 3 - --- 4 - 5 - feat(sdk): update `validator` option 6 - 7 - ### Updated `sdk.validator` option 8 - 9 - 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. 10 - 11 - ```js 12 - export default { 13 - input: 'https://get.heyapi.dev/hey-api/backend', 14 - output: 'src/client', 15 - plugins: [ 16 - // ...other plugins 17 - { 18 - name: '@hey-api/sdk', 19 - validator: { 20 - request: false, 21 - response: true, 22 - }, 23 - }, 24 - ], 25 - }; 26 - ```
-5
.changeset/real-horses-lay.md
··· 1 - --- 2 - '@hey-api/openapi-ts': patch 3 - --- 4 - 5 - fix(client): add requestValidator option
+37
packages/openapi-ts/CHANGELOG.md
··· 1 1 # @hey-api/openapi-ts 2 2 3 + ## 0.77.0 4 + 5 + ### Minor Changes 6 + 7 + - [#2227](https://github.com/hey-api/openapi-ts/pull/2227) [`4ea6f24`](https://github.com/hey-api/openapi-ts/commit/4ea6f24d02d8e8867313073d003f0b573f2054db) Thanks [@mrlubos](https://github.com/mrlubos)! - refactor(plugin): add `DefinePlugin` utility types 8 + 9 + ### Updated Plugin API 10 + 11 + Please refer to the [custom plugin](https://heyapi.dev/openapi-ts/plugins/custom) tutorial for the latest guide. 12 + 13 + - [#2227](https://github.com/hey-api/openapi-ts/pull/2227) [`4ea6f24`](https://github.com/hey-api/openapi-ts/commit/4ea6f24d02d8e8867313073d003f0b573f2054db) Thanks [@mrlubos](https://github.com/mrlubos)! - feat(sdk): update `validator` option 14 + 15 + ### Updated `sdk.validator` option 16 + 17 + 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. 18 + 19 + ```js 20 + export default { 21 + input: 'https://get.heyapi.dev/hey-api/backend', 22 + output: 'src/client', 23 + plugins: [ 24 + // ...other plugins 25 + { 26 + name: '@hey-api/sdk', 27 + validator: { 28 + request: false, 29 + response: true, 30 + }, 31 + }, 32 + ], 33 + }; 34 + ``` 35 + 36 + ### Patch Changes 37 + 38 + - [#2227](https://github.com/hey-api/openapi-ts/pull/2227) [`4ea6f24`](https://github.com/hey-api/openapi-ts/commit/4ea6f24d02d8e8867313073d003f0b573f2054db) Thanks [@mrlubos](https://github.com/mrlubos)! - fix(client): add requestValidator option 39 + 3 40 ## 0.76.0 4 41 5 42 ### Minor Changes
+1 -1
packages/openapi-ts/package.json
··· 1 1 { 2 2 "name": "@hey-api/openapi-ts", 3 - "version": "0.76.0", 3 + "version": "0.77.0", 4 4 "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.", 5 5 "homepage": "https://heyapi.dev/", 6 6 "repository": {