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 modeWatch 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 versionfeat: add support for basic http auth