Packages

@hey-api/openapi-ts

0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed

Your version

271 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 0.52.x
  2. 0.52.10

    26 Aug 2024
    • Handle tree-shakeable angular client case

  3. 0.52.9

    18 Aug 2024
    • Handle schemas with generics from C#

    • Rename infinite key in query key to _infinite

    • Correctly use parentheses around composed schemas

  4. 0.52.8

    14 Aug 2024
    • Cherry pick keys in mutation page param type

  5. 0.52.7

    14 Aug 2024
    • Handle various issues with additionalProperties definitions

    • Update TanStack Query key to contain base URL

    • Change TanStack Query mutation helpers to functions for consistent API

  6. 0.52.6

    13 Aug 2024
    • Add preview version of TanStack Query plugin

  7. 0.52.5

    12 Aug 2024
    • Throw if prerequisite checks are not met

    • Correctly transform string to pascalcase when referenced inside schema

    • Do not generate types tree by default if services are enabled as it is unused

  8. 0.52.4

    10 Aug 2024
    • Define ThrowOnError generic as the last argument

  9. 0.52.3

    8 Aug 2024
    • Generate ThrowOnError generic for class-based client methods

  10. 0.52.2

    7 Aug 2024
    • Check if key is schema property before removing

  11. 0.52.1

    6 Aug 2024
    • Define multiple errors type as union instead of intersection

    • Remove Content-Type header with multipart/form-data content type

    • Additional properties key

  12. 0.52.0

    1 Aug 2024
    • Add namespace supporting for enums

    • Generate internal client for services when using standalone package

  13. 0.51.x
  14. 0.51.0

    28 Jul 2024
    • Make client config option required

    • Correctly process body parameter for OpenAPI 2.0 specs

    • Do not ignore api-version param in standalone clients

  15. 0.50.x
  16. 0.50.2

    26 Jul 2024
    • Handle fully illegal schema names

  17. 0.50.1

    24 Jul 2024
    • Generate types only for filtered services

    • Allow any key/value pair in object types with empty properties object

  18. 0.50.0

    21 Jul 2024
    • Allow bundling standalone clients with client.bundle = true

  19. 0.49.x
  20. 0.49.0

    17 Jul 2024
    • Allow filtering service endpoints with services.filter

    • Suffix illegal service names

    • Handle references to schemas with illegal names

  21. 0.48.x
  22. 0.48.3

    15 Jul 2024
    • Use methodNameBuilder when asClass is false

    • Allow not generating types tree with types.tree = false

  23. 0.48.2

    4 Jul 2024
    • Handle formData parameters in generated types

    • Ignore services.asClass setting for named clients

    • Improve default response type detection

  24. 0.48.1

    1 Jul 2024
    • Generate service types when types are enabled, even if services are disabled

    • Support custom config file path

    • Handle async response transformers

  25. 0.48.0

    24 Jun 2024
    • Pass the Operation object to methodNameBuilder

    • Make getHeaders() accept generic

    • Handle void responses in transformers

  26. 0.47.x
  27. 0.47.2

    21 Jun 2024
    • Add initial implementation of prefixItems

  28. 0.47.1

    19 Jun 2024
    • Fix an issue where transforms for endpoints with array returns were not generated correctly

  29. 0.47.0

    16 Jun 2024
    • Add initial support for response transformers (string -> Date)

    • Add support for customizing method names with services.methodNameBuilder()

  30. 0.46.x
  31. 0.46.3

    27 May 2024
    • Add explicit type annotations to Interceptors

      This allows the generated code to work with TypeScript 5.5's new isolatedDeclarations configuration.

    • Handle 1XX response status codes

    • Improve default response status code classification

  32. 0.46.2

    24 May 2024
    • Do not transform property names for standalone clients

  33. 0.46.1

    23 May 2024
    • Handle application/json content type in parameter definitions

  34. 0.46.0

    21 May 2024
    • tree-shakeable services

  35. 0.45.x
  36. 0.45.1

    16 May 2024
    • Use generated types in request object instead of inlined duplicated params

  37. 0.45.0

    15 May 2024
    • Remove client inference

    • Deduplicate inlined enums

    • Generate correct optional key in types when using positional arguments (useOptions: false)

  38. 0.44.x
  39. 0.44.0

    13 May 2024
    • Move format and lint config options to output object

    • Comment position in JavaScript enums

    • Export inlined enums from components

  40. 0.43.x
  41. 0.43.2

    6 May 2024
    • Deduplicate exported data and response types

  42. 0.43.1

    5 May 2024
    • Use optional chaining in bin catch block

    • Broken encoding

    • parser: Handle type array

  43. 0.43.0

    2 May 2024
    • Removed

      Remove enum postfix, use typescript enums in types when generated, export enums from types.gen.ts

    • Negative numbers in numeric enums

    • Escape keys in schemas starting with digit but containing non-digit characters

  44. 0.42.x
  45. 0.42.1

    22 Apr 2024
    • Properly set formData and body when using options

  46. 0.42.0

    21 Apr 2024
    • change: Config option lint: true has changed to lint: 'eslint'

    • change: Disable formatting with prettier by default

    • Add support for biomejs as a formatter

  47. 0.41.x
  48. 0.41.0

    19 Apr 2024
    • Add form type option for schemas

    • Replace useDateType with option in types object

    • Replace serviceResponse with option in services object

  49. 0.40.x
  50. 0.40.2

    18 Apr 2024
    • Unhandled SyntaxKind unknown when specification has numeric enums

  51. 0.40.1

    18 Apr 2024
    • Revert to generating commonjs for esm and commonjs support

  52. 0.40.0

    17 Apr 2024
    • Allow choosing naming convention for types

    • Rename exportModels to types

    • Rename models.gen.ts to types.gen.ts

  53. 0.39.x
  54. 0.39.0

    16 Apr 2024
    • Rename generated files

    • Add JSON-LD to content parsing

    • Generate enums into their own file

  55. 0.38.x
  56. 0.38.1

    11 Apr 2024
    • Inconsistent indentation in models file when not using format: true

    • Output path no longer required to be within cwd

  57. 0.38.0

    11 Apr 2024
    • Rename write to dryRun and invert value

    • Generate constant size array types properly

    • Support x-enumNames for custom enum names

  58. 0.37.x
  59. 0.37.3

    9 Apr 2024
    • Do not ignore additionalProperties when object with properties object

  60. 0.37.2

    9 Apr 2024
    • Escape schema names

    • Escape backticks in strings starting with backtick

  61. 0.37.1

    9 Apr 2024
    • Ensure strings with both single/double quotes and backticks are escaped properly

  62. 0.37.0

    9 Apr 2024
    • remove: generics as valid option for serviceResponse

    • Escape dollar sign in operation names

  63. 0.36.x
  64. 0.36.2

    9 Apr 2024
    • Move service types into models file

  65. 0.36.1

    8 Apr 2024
    • Do not throw when failing to decode URI

  66. 0.36.0

    8 Apr 2024
    • Export schemas directly from OpenAPI specification (ie. support exporting JSON schemas draft 2020-12

    • config: Rename exportSchemas to schemas

  67. 0.35.x
  68. 0.35.0

    8 Apr 2024
    • Removed

      config: Remove postfixModels option

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.