All notable changes to this project will be documented in this file.
Please migrate your projects to use @hey-api/openapi-ts
The @hey-api/openapi-ts
project started as a fork with the goal to resolve the most pressing issues. going forward they are planning to
maintain the OpenAPI generator and give it the love it deserves. Please support them with their work and make
sure to migrate your projects: https://heyapi.vercel.app/openapi-ts/migrating.html
- Upgraded dependencies
- Upgraded dependencies
- Windows issue when resolving external spec files
- Media-type for falsy bodies except 'undefined'
- Updated typo in generated header
- Enabled
withXSRFToken
for Axios
- Reverted
@apidevtools/json-schema-ref-parser
to version 10.1.0
- Upgraded dependencies
- Upgraded dependencies
- Allow usage of a custom axios instance
- Added message in generated files
- Upgraded dependencies
- Fixed issue with Cancelable promise
- Fixed issue with escaping reserved keywords in schema names
- Added
--postfixModels
option
- Upgraded dependencies
- Added blank line at the end of generated files
- Added support for Node.js v12
- Added
request
property insideApiError
- Added support for
@depricated
inside models and operations
- Upgraded dependencies
- Fixed issue with
null
value inside comments for OpenAPI v2 enums - Fixed issue with compatibility for latest version of Axios (0.27.x)
- Removed deprecated enum model generation
- Return
undefined
to matchnoImplicitReturns
rule - Made
BaseHttpRequest
class abstract - Removed private fields using
#
insideCancelablePromise
- Removed unneeded import
AbortController
fromnode-fetch
client - Filter out wrong enum values
- Support enums with single quotes in names for V2
- Updated dependencies
- Support enums with single quotes in names for V3
- Generating better names when
operationId
is not given (breaking change) - Fixed issue where
x-enum
flags where breaking due to non-string values
- Support for Angular client with
--name
option - Added test cases for Angular client
- Updated dependencies
- Fixed type definition
- Added test cases for CLI commands
- Added test cases for query parsing
- Escaping error description
- Made
Client.request
andBaseHttpRequest.config
props public
_## [0.18.0] - 2022-01-28
- Angular client generation!
- Updated documentation with more examples and better descriptions
- Shorthand notation for properties passed through constructor
- Simplified creation of headers
- Prepare codebase for Angular client
- Removed dependency on
URLSearchParams
to support browser and node without any additional imports
- Correct export inside
index.ts
when giving a custom name
- Added option to set the indentation (spaces and tabs)
- Added option to export separate client file that allows usage for multiple backends
- Decoupled OpenAPI object from requests
- Updated dependencies
- Added change log and releases on GitHub
- Added missing
postfix
options to typedef - Updated escaping of comments and descriptions
- Better handling of services without tags
- Updated dependencies