Skip to content

Releases: hey-api/openapi-ts

@hey-api/openapi-ts@0.82.1

30 Aug 00:30
0bf88fe
Compare
Choose a tag to compare

Patch Changes

  • #2541 ad3c633 Thanks @ixnas! - feat(typescript): add typescript-const to enums.mode for generating TypeScript enums as constants

  • #2556 74c16f2 Thanks @carson2222! - fix(parser): prune required array after removing properties

  • #2559 5012a72 Thanks @jgoz! - fix(output): avoid appending .gen to file names multiple times when output.clean is false

@hey-api/openapi-ts@0.82.0

28 Aug 18:30
61e0956
Compare
Choose a tag to compare

Minor Changes

  • #2505 97c57f6 Thanks @SebastiaanWouters! - feat(parser): add Hooks API

    Added Hooks API

    This release adds the Hooks API, giving you granular control over which operations generate queries and mutations. As a result, we tightened the previous behavior and POST operations no longer generate queries by default. To preserve the old behavior, add a custom matcher.

    export default {
      input: 'hey-api/backend', // sign up at app.heyapi.dev
      output: 'src/client',
      parser: {
        hooks: {
          operations: {
            isQuery: (op) => (op.method === 'post' ? true : undefined),
          },
        },
      },
    };

Patch Changes

@hey-api/openapi-ts@0.81.1

24 Aug 02:44
6184a27
Compare
Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.81.0

22 Aug 22:13
2745413
Compare
Choose a tag to compare

Minor Changes

@hey-api/openapi-ts@0.80.18

21 Aug 15:39
e964357
Compare
Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.80.17

21 Aug 13:56
63e60f0
Compare
Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.80.16

20 Aug 18:39
75c344d
Compare
Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.80.15

19 Aug 17:13
df9b830
Compare
Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.80.14

18 Aug 18:05
8c43c02
Compare
Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.80.13

18 Aug 15:42
4dd22ac
Compare
Choose a tag to compare

Patch Changes