Skip to content

Releases: hey-api/openapi-ts

@hey-api/openapi-ts@0.83.1

10 Sep 16:35
91bc2d0
Compare
Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.83.0

10 Sep 11:55
91b916c
Compare
Choose a tag to compare

Minor Changes

  • feat: Symbol API

Symbol API

This release adds the Symbol API, which significantly reduces the risk of naming collisions. While the generated output should only include formatting changes, this feature introduces breaking changes to the Plugin API that affect custom plugins.

We will update the custom plugin guide once the Plugin API becomes more stable. (#2582) (10aea89) by @mrlubos

  • feat(pinia-colada): remove groupByTag option

Removed groupByTag Pinia Colada option

This option has been removed to provide a more consistent API across plugins. We plan to bring it back in a future release. (#2582) (10aea89) by @mrlubos

Patch Changes

Updated Dependencies:

  • @hey-api/codegen-core@0.1.0

@hey-api/codegen-core@0.1.0

10 Sep 11:55
91b916c
Compare
Choose a tag to compare

Minor Changes

@hey-api/openapi-ts@0.82.5

07 Sep 15:45
a17130e
Compare
Choose a tag to compare

Patch Changes

@hey-api/openapi-ts@0.82.4

05 Sep 11:48
ec26321
Compare
Choose a tag to compare

Patch Changes

@hey-api/nuxt@0.2.1

01 Sep 14:59
a312623
Compare
Choose a tag to compare

Patch Changes

@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