Releases: openapi-ts/openapi-typescript
Releases · openapi-ts/openapi-typescript
openapi-typescript@7.13.0
Minor Changes
- #2549
a690e52Thanks @abumalick! - Add readOnly/writeOnly support via--read-write-markersflag. When enabled, readOnly properties are wrapped with$Read<T>and writeOnly properties with$Write<T>. openapi-fetch usesReadable<T>andWritable<T>helpers to exclude these properties from responses and request bodies respectively.
openapi-typescript-helpers@0.1.0
Minor Changes
- #2549
a690e52Thanks @abumalick! - Add readOnly/writeOnly support via--read-write-markersflag. When enabled, readOnly properties are wrapped with$Read<T>and writeOnly properties with$Write<T>. openapi-fetch usesReadable<T>andWritable<T>helpers to exclude these properties from responses and request bodies respectively.
openapi-react-query@0.5.4
openapi-fetch@0.17.0
Minor Changes
- #2549
a690e52Thanks @abumalick! - Add readOnly/writeOnly support via--read-write-markersflag. When enabled, readOnly properties are wrapped with$Read<T>and writeOnly properties with$Write<T>. openapi-fetch usesReadable<T>andWritable<T>helpers to exclude these properties from responses and request bodies respectively.
Patch Changes
-
#2572
9350ddfThanks @luis-guideti! - Do not treat Content-Length=0 as empty when Transfer-Encoding is chunked -
Updated dependencies [
a690e52]:- openapi-typescript-helpers@0.1.0
openapi-typescript@7.12.0
Minor Changes
- #2524
697f7feThanks @gunnarvelle! - Added flag to keep casing for exported root types
Patch Changes
- #2536
e3c05a4Thanks @darkbasic! - FixenumValues: trueoutput for schemas that useoneOf/anyOfunions by narrowing union types withExtract<>before accessing variant-specific properties. This prevents invalid type paths when an accessed property only exists on some union members.
openapi-react-query@0.5.3
Patch Changes
- Updated dependencies [
9002418]:- openapi-fetch@0.16.0
openapi-react-query@0.5.2
openapi-fetch@0.16.0
Minor Changes
- #2362
9002418Thanks @luxass! - Added support for setting a custom path serializers either globally or per request. This allows you to customize how path parameters are serialized in the URL. E.g. you can use a custom serializer to prevent encoding of a path parameter, if you need to pass a value that should not be encoded.
openapi-fetch@0.15.2
openapi-typescript@7.10.1
Patch Changes
- #2480
e04dc65Thanks @MatissJanis! - Fix multi-line jsdoc comments