Releases: hey-api/openapi-ts
Releases · hey-api/openapi-ts
@hey-api/[email protected]
@hey-api/[email protected]
@hey-api/[email protected]
Minor Changes
-
#1896
8840ed7
Thanks @mrlubos! - feat: support read-only and write-only propertiesRead-only and write-only fields
Starting with v0.66.0,
@hey-api/typescript
will generate separate types for payloads and responses if it detects any read-only or write-only fields. To preserve the previous behavior and generate a single type regardless, setreadOnlyWriteOnlyBehavior
tooff
.export default { input: 'https://get.heyapi.dev/hey-api/backend', output: 'src/client', plugins: [ // ...other plugins { name: '@hey-api/typescript', readOnlyWriteOnlyBehavior: 'off', // [!code ++] }, ], };
@hey-api/[email protected]
Minor Changes
Patch Changes
@hey-api/[email protected]
Patch Changes
- Updated dependencies [
67c385b
]:- @hey-api/[email protected]