@hey-api/openapi-ts
0.99.0 · 22 Jun 2026MIT8.3M / weekRepositoryHomepagenpmAtom feed
271 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.52.x
0.52.10
26 Aug 2024Handle tree-shakeable angular client case
0.52.9
18 Aug 2024Handle schemas with generics from C#
Rename infinite key in query key to _infinite
Correctly use parentheses around composed schemas
Patch Changes
Handle schemas with generics from C#
Rename infinite key in query key to _infinite
Correctly use parentheses around composed schemas
Correctly handle integer type in additional properties
0.52.8
14 Aug 2024Cherry pick keys in mutation page param type
0.52.7
14 Aug 2024Handle various issues with additionalProperties definitions
Update TanStack Query key to contain base URL
Change TanStack Query mutation helpers to functions for consistent API
0.52.6
13 Aug 2024Add preview version of TanStack Query plugin
0.52.5
12 Aug 2024Throw 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
0.52.4
10 Aug 2024Define ThrowOnError generic as the last argument
0.52.3
8 Aug 2024Generate ThrowOnError generic for class-based client methods
0.52.2
7 Aug 2024Check if key is schema property before removing
0.52.1
6 Aug 2024Define multiple errors type as union instead of intersection
Remove Content-Type header with multipart/form-data content type
Additional properties key
Patch Changes
Define multiple errors type as union instead of intersection
Remove Content-Type header with multipart/form-data content type
Additional properties key
Add conditionnal generation for service related types
0.52.0
1 Aug 2024Add namespace supporting for enums
Generate internal client for services when using standalone package
- 0.51.x
0.51.0
28 Jul 2024Make
clientconfig option requiredCorrectly process body parameter for OpenAPI 2.0 specs
Do not ignore api-version param in standalone clients
- 0.50.x
0.50.2
26 Jul 2024Handle fully illegal schema names
0.50.1
24 Jul 2024Generate types only for filtered services
Allow any key/value pair in object types with empty properties object
0.50.0
21 Jul 2024Allow bundling standalone clients with
client.bundle = true
- 0.49.x
0.49.0
17 Jul 2024Allow filtering service endpoints with
services.filterSuffix illegal service names
Handle references to schemas with illegal names
Minor Changes
Allow filtering service endpoints with
services.filter
Patch Changes
Suffix illegal service names
Handle references to schemas with illegal names
Handle application/x-www-form-urlencoded content in request body
- 0.48.x
0.48.3
15 Jul 2024Use methodNameBuilder when asClass is false
Allow not generating types tree with types.tree = false
0.48.2
4 Jul 2024Handle formData parameters in generated types
Ignore services.asClass setting for named clients
Improve default response type detection
Patch Changes
Handle formData parameters in generated types
Ignore services.asClass setting for named clients
Improve default response type detection
Handle properties in one-of composition
0.48.1
1 Jul 2024Generate service types when types are enabled, even if services are disabled
Support custom config file path
Handle async response transformers
0.48.0
24 Jun 2024Pass the Operation object to methodNameBuilder
Make getHeaders() accept generic
Handle void responses in transformers
- 0.47.x
0.47.2
21 Jun 2024Add initial implementation of prefixItems
0.47.1
19 Jun 2024Fix an issue where transforms for endpoints with array returns were not generated correctly
0.47.0
16 Jun 2024Add initial support for response transformers (string -> Date)
Add support for customizing method names with
services.methodNameBuilder()
- 0.46.x
0.46.3
27 May 2024Add explicit type annotations to
InterceptorsThis allows the generated code to work with TypeScript 5.5's new
isolatedDeclarationsconfiguration.Handle 1XX response status codes
Improve default response status code classification
0.46.2
24 May 2024Do not transform property names for standalone clients
0.46.1
23 May 2024Handle application/json content type in parameter definitions
0.46.0
21 May 2024tree-shakeable services
- 0.45.x
0.45.1
16 May 2024Use generated types in request object instead of inlined duplicated params
0.45.0
15 May 2024Remove client inference
Deduplicate inlined enums
Generate correct optional key in types when using positional arguments (useOptions: false)
- 0.44.x
0.44.0
13 May 2024Move format and lint config options to output object
Comment position in JavaScript enums
Export inlined enums from components
Minor Changes
Move format and lint config options to output object
Patch Changes
Comment position in JavaScript enums
Export inlined enums from components
Remove unused enums option from CLI
Support typescript in peerDependencies
- 0.43.x
0.43.2
6 May 2024Deduplicate exported data and response types
0.43.1
5 May 2024Use optional chaining in bin catch block
Broken encoding
parser: Handle type array
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
Minor Changes
- Removed
Remove enum postfix, use typescript enums in types when generated, export enums from types.gen.ts
Patch Changes
Negative numbers in numeric enums
Escape keys in schemas starting with digit but containing non-digit characters
Issue causing code to not generate (t.filter is not a function)
Handle additional properties union
Do not export inline enums
Prefix parameter type exports to avoid conflicts
Export operation data and response types
Handle cases where packages are installed globally
Handle cases where package.json does not exist
- 0.42.x
0.42.1
22 Apr 2024Properly set formData and body when using options
0.42.0
21 Apr 2024change: Config option
lint: truehas changed tolint: 'eslint'change: Disable formatting with prettier by default
Add support for biomejs as a formatter
Minor Changes
change: Config option
lint: truehas changed tolint: 'eslint'change: Disable formatting with prettier by default
Add support for biomejs as a formatter
Move operationId config option to services object
Add operation error type mappings
Add support for biomejs as a linter
change: Config option
format: truehas changed toformat: 'prettier'
Patch Changes
Do not destructure data when using use options
Automatically handle dates in query string
Only remove core directory when export core is true
Add jsdoc comments with use options
- 0.41.x
0.41.0
19 Apr 2024Add form type option for schemas
Replace useDateType with option in types object
Replace serviceResponse with option in services object
Minor Changes
Add form type option for schemas
Replace useDateType with option in types object
Replace serviceResponse with option in services object
Replace postfixServices with configuration object
Patch Changes
Properly escape backticks in template literals
Transform names of referenced types
Use config interceptors passed to constructor when using named client
Properly escape expressions in template literals
Do not export common properties as schemas
- 0.40.x
0.40.2
18 Apr 2024Unhandled SyntaxKind unknown when specification has numeric enums
0.40.1
18 Apr 2024Revert to generating commonjs for esm and commonjs support
0.40.0
17 Apr 2024Allow choosing naming convention for types
Rename exportModels to types
Rename models.gen.ts to types.gen.ts
Minor Changes
Allow choosing naming convention for types
Patch Changes
Rename exportModels to types
Rename models.gen.ts to types.gen.ts
Export enums from index.ts
- 0.39.x
0.39.0
16 Apr 2024Rename generated files
Add JSON-LD to content parsing
Generate enums into their own file
Minor Changes
Rename generated files
Add JSON-LD to content parsing
Generate enums into their own file
Patch Changes
Remove file if no contents to write to it
Eslint properly fixes output
Invalid typescript Record generated with circular dependencies
Prefer unknown type over any
Only delete generated files instead of whole output directory
Handle decoding models with
%in descriptionThrow error when typescript is missing
- 0.38.x
0.38.1
11 Apr 2024Inconsistent indentation in models file when not using
format: trueOutput path no longer required to be within cwd
0.38.0
11 Apr 2024Rename write to dryRun and invert value
Generate constant size array types properly
Support x-enumNames for custom enum names
Minor Changes
Rename write to dryRun and invert value
Patch Changes
Generate constant size array types properly
Support x-enumNames for custom enum names
Export service types from single namespace
Generate models with proper indentation when formatting is false
Log errors to file
Cleanup some styling issues when generating client without formatting
- 0.37.x
0.37.3
9 Apr 2024Do not ignore additionalProperties when object with properties object
0.37.2
9 Apr 2024Escape schema names
Escape backticks in strings starting with backtick
0.37.1
9 Apr 2024Ensure strings with both single/double quotes and backticks are escaped properly
0.37.0
9 Apr 2024remove:
genericsas valid option for serviceResponseEscape dollar sign in operation names
- 0.36.x
0.36.2
9 Apr 2024Move service types into models file
0.36.1
8 Apr 2024Do not throw when failing to decode URI
0.36.0
8 Apr 2024Export schemas directly from OpenAPI specification (ie. support exporting JSON schemas draft 2020-12
config: Rename exportSchemas to schemas
- 0.35.x
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.