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

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

Minor Changes

  • #1520 b3c23ba Thanks @chriswiggins! - Add support for HTTP Bearer Authentication Scheme

  • #1525 7b7313e Thanks @mrlubos! - feat: add OpenAPI 2.0 support to experimental parser

  • #1511 4e8064d Thanks @mrlubos! - feat: add watch mode

    Watch Mode

    ::: warning
    Watch mode currently supports only remote files via URL.
    :::

    If your schema changes frequently, you may want to automatically regenerate the output during development. To watch your input file for changes, enable watch mode in your configuration or pass the --watch flag to the CLI.

    Config

    export default {
      client: '@hey-api/client-fetch',
      input: 'path/to/openapi.json',
      output: 'src/client',
      watch: true,
    };

    CLI

    npx @hey-api/openapi-ts \
      -c @hey-api/client-fetch \
      -i path/to/openapi.json \
      -o src/client \
      -w
  • BREAKING: please update @hey-api/client-* packages to the latest version

    feat: add support for basic http auth

Patch Changes

Don't miss a new openapi-ts release

NewReleases is sending notifications on new releases.