All notable changes to this project will be documented in this file.
- Upgraded dependencies
- Escape reserved keywords in schema names (ferdikoomen#1192)
- Fix pattern single quote escaping (ferdikoomen#1275)
- Fix undefined request body when body is a valid JSON falsy value: false or 0, "". (ferdikoomen#1076)
- Add model postfix (ferdikoomen#1141)
- Support free-form objects (ferdikoomen#1165)
- Set default providedIn to root for angular client (ferdikoomen#1250)
- Add json support for application/problem+json content type (ferdikoomen#1208)
- 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