Skip to content

Releases: openapi-ts/openapi-typescript

openapi-typescript@7.13.0

11 Feb 16:02
5709d33

Choose a tag to compare

Minor Changes

  • #2549 a690e52 Thanks @abumalick! - Add readOnly/writeOnly support via --read-write-markers flag. When enabled, readOnly properties are wrapped with $Read<T> and writeOnly properties with $Write<T>. openapi-fetch uses Readable<T> and Writable<T> helpers to exclude these properties from responses and request bodies respectively.

openapi-typescript-helpers@0.1.0

11 Feb 16:02
5709d33

Choose a tag to compare

Minor Changes

  • #2549 a690e52 Thanks @abumalick! - Add readOnly/writeOnly support via --read-write-markers flag. When enabled, readOnly properties are wrapped with $Read<T> and writeOnly properties with $Write<T>. openapi-fetch uses Readable<T> and Writable<T> helpers to exclude these properties from responses and request bodies respectively.

openapi-react-query@0.5.4

11 Feb 16:02
5709d33

Choose a tag to compare

Patch Changes

  • Updated dependencies [9350ddf, a690e52]:
    • openapi-fetch@0.17.0
    • openapi-typescript-helpers@0.1.0

openapi-fetch@0.17.0

11 Feb 16:02
5709d33

Choose a tag to compare

Minor Changes

  • #2549 a690e52 Thanks @abumalick! - Add readOnly/writeOnly support via --read-write-markers flag. When enabled, readOnly properties are wrapped with $Read<T> and writeOnly properties with $Write<T>. openapi-fetch uses Readable<T> and Writable<T> helpers to exclude these properties from responses and request bodies respectively.

Patch Changes

  • #2572 9350ddf Thanks @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

08 Feb 23:12
5ca8369

Choose a tag to compare

Minor Changes

Patch Changes

  • #2536 e3c05a4 Thanks @darkbasic! - Fix enumValues: true output for schemas that use oneOf/anyOf unions by narrowing union types with Extract<> 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

08 Feb 23:38
7318f82

Choose a tag to compare

Patch Changes

  • Updated dependencies [9002418]:
    • openapi-fetch@0.16.0

openapi-react-query@0.5.2

08 Feb 23:12
5ca8369

Choose a tag to compare

Patch Changes

openapi-fetch@0.16.0

08 Feb 23:38
7318f82

Choose a tag to compare

Minor Changes

  • #2362 9002418 Thanks @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

08 Feb 23:12
5ca8369

Choose a tag to compare

Patch Changes

  • #2508 89843b0 Thanks @srbarba! - Use text() when no content-length is provided to avoid errors parsing empty bodies (200 with no content)

openapi-typescript@7.10.1

15 Oct 14:46
1349929

Choose a tag to compare

Patch Changes