github hey-api/openapi-ts @hey-api/openapi-ts@0.72.0

latest releases: @hey-api/openapi-ts@0.82.5, @hey-api/openapi-ts@0.82.4, @hey-api/nuxt@0.2.1...
3 months ago

Minor Changes

  • #2141 557769d Thanks @mrlubos! - feat(sdk): add classStructure option supporting dot or slash operationId notation when generating class-based SDKs

    Added sdk.classStructure option

    When generating class-based SDKs, we now try to infer the ideal structure using operationId keywords. If you'd like to preserve the previous behavior, set classStructure to off.

    export default {
      input: 'https://get.heyapi.dev/hey-api/backend',
      output: 'src/client',
      plugins: [
        // ...other plugins
        {
          classStructure: 'off',
          name: '@hey-api/sdk',
        },
      ],
    };

Patch Changes

Don't miss a new openapi-ts release

NewReleases is sending notifications on new releases.