···11+# Changesets
22+33+Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
44+with multi-package repos, or single-package repos to help you version and publish your code. You can
55+find the full documentation for it [in our repository](https://github.com/changesets/changesets)
66+77+We have a quick list of common questions to get you started engaging with this project in
88+[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
···11+# Changelog
22+All notable changes to this project will be documented in this file.
33+44+## [0.27.0] - 2024-01-15
55+### Fixed
66+- Reverted `@apidevtools/json-schema-ref-parser` to version 10.1.0
77+88+## [0.26.0] - 2024-01-07
99+### Fixed
1010+- Upgraded dependencies
1111+1212+## [0.25.0] - 2023-07-05
1313+### Fixed
1414+- Upgraded dependencies
1515+### Added
1616+- Allow usage of a custom axios instance
1717+- Added message in generated files
1818+1919+## [0.24.0] - 2023-04-10
2020+### Fixed
2121+- Upgraded dependencies
2222+- Fixed issue with Cancelable promise
2323+- Fixed issue with escaping reserved keywords in schema names
2424+### Added
2525+- Added `--postfixModels` option
2626+2727+## [0.23.0] - 2022-06-02
2828+### Fixed
2929+- Upgraded dependencies
3030+- Added blank line at the end of generated files
3131+- Added support for Node.js v12
3232+### Added
3333+- Added `request` property inside `ApiError`
3434+- Added support for `@depricated` inside models and operations
3535+3636+## [0.22.0] - 2022-04-26
3737+### Fixed
3838+- Upgraded dependencies
3939+- Fixed issue with `null` value inside comments for OpenAPI v2 enums
4040+- Fixed issue with compatibility for latest version of Axios (0.27.x)
4141+### Removed
4242+- Removed deprecated enum model generation
4343+4444+## [0.21.0] - 2022-04-06
4545+### Fixed
4646+- Return `undefined` to match `noImplicitReturns` rule
4747+- Made `BaseHttpRequest` class abstract
4848+- Removed private fields using `#` inside `CancelablePromise`
4949+- Removed unneeded import `AbortController` from `node-fetch` client
5050+- Filter out wrong enum values
5151+5252+## [0.20.1] - 2022-02-25
5353+### Fixed
5454+- Support enums with single quotes in names for V2
5555+5656+## [0.20.0] - 2022-02-25
5757+### Fixed
5858+- Updated dependencies
5959+- Support enums with single quotes in names for V3
6060+- Generating better names when `operationId` is not given (breaking change)
6161+- Fixed issue where `x-enum` flags where breaking due to non-string values
6262+6363+## [0.19.0] - 2022-02-02
6464+### Added
6565+- Support for Angular client with `--name` option
6666+- Added test cases for Angular client
6767+6868+## [0.18.2] - 2022-02-02
6969+### Fixed
7070+- Updated dependencies
7171+- Fixed type definition
7272+### Added
7373+- Added test cases for CLI commands
7474+- Added test cases for query parsing
7575+7676+## [0.18.1] - 2022-01-31
7777+### Fixed
7878+- Escaping error description
7979+- Made `Client.request` and `BaseHttpRequest.config` props public
8080+8181+_## [0.18.0] - 2022-01-28
8282+### Added
8383+- Angular client generation!
8484+- Updated documentation with more examples and better descriptions
8585+8686+## [0.17.0] - 2022-01-26
8787+### Fixed
8888+- Shorthand notation for properties passed through constructor
8989+- Simplified creation of headers
9090+- Prepare codebase for Angular client
9191+9292+## [0.16.2] - 2022-01-26
9393+### Fixed
9494+- Removed dependency on `URLSearchParams` to support browser and node without any additional imports
9595+9696+## [0.16.1] - 2022-01-26
9797+### Fixed
9898+- Correct export inside `index.ts` when giving a custom name
9999+100100+## [0.16.0] - 2022-01-25
101101+### Added
102102+- Added option to set the indentation (spaces and tabs)
103103+- Added option to export separate client file that allows usage for multiple backends
104104+### Fixed
105105+- Decoupled OpenAPI object from requests
106106+- Updated dependencies
107107+108108+## [0.15.0] - 2022-01-24
109109+### Added
110110+- Added change log and releases on GitHub
111111+112112+## [0.14.0] - 2022-01-24
113113+### Fixed
114114+- Added missing `postfix` options to typedef
115115+- Updated escaping of comments and descriptions
116116+- Better handling of services without tags
117117+- Updated dependencies
+244-98
CHANGELOG.md
···11-# Changelog
22-All notable changes to this project will be documented in this file.
11+# @hey-api/openapi-ts
3244-## [0.27.0] - 2024-01-15
55-### Fixed
66-- Reverted `@apidevtools/json-schema-ref-parser` to version 10.1.0
33+## 0.27.38
44+55+### Minor Changes
7688-## [0.26.0] - 2024-01-07
99-### Fixed
1010-- Upgraded dependencies
77+- Make useOptions default to true
88+99+## 0.27.37
1010+1111+### Minor Changes
1212+1313+- Fix import error in generated Node client
1414+1515+- Update package dependencies
1616+1717+- Use engine-strict in .npmrc
11181212-## [0.25.0] - 2023-07-05
1313-### Fixed
1414-- Upgraded dependencies
1515-### Added
1616-- Allow usage of a custom axios instance
1717-- Added message in generated files
1919+## 0.27.36
18201919-## [0.24.0] - 2023-04-10
2020-### Fixed
2121-- Upgraded dependencies
2222-- Fixed issue with Cancelable promise
2323-- Fixed issue with escaping reserved keywords in schema names
2424-### Added
2525-- Added `--postfixModels` option
2121+### Minor Changes
26222727-## [0.23.0] - 2022-06-02
2828-### Fixed
2929-- Upgraded dependencies
3030-- Added blank line at the end of generated files
3131-- Added support for Node.js v12
3232-### Added
3333-- Added `request` property inside `ApiError`
3434-- Added support for `@depricated` inside models and operations
2323+- Handle falsy values in header
2424+2525+- Export schemas by default
2626+2727+## 0.27.35
2828+2929+### Minor Changes
3030+3131+- Update all project dependencies
3232+3333+- Discard only null or undefined in query string
3434+3535+## 0.27.34
3636+3737+### Minor Changes
3838+3939+- Add flag for linting generated code (default: false)
4040+4141+- Add flag for formatting generated code (default: true)
4242+4343+## 0.27.33
4444+4545+### Minor Changes
4646+4747+- Auto format with Eslint if available
4848+4949+- Add types for programmatic API
5050+5151+## 0.27.32
5252+5353+### Minor Changes
5454+5555+- Rename Config type to UserConfig
5656+5757+- Pass arguments in correct order in Angular client
5858+5959+## 0.27.31
6060+6161+### Minor Changes
6262+6363+- Add support for openapi-ts.config.js file
6464+6565+- Use built-in flat map
35663636-## [0.22.0] - 2022-04-26
3737-### Fixed
3838-- Upgraded dependencies
3939-- Fixed issue with `null` value inside comments for OpenAPI v2 enums
4040-- Fixed issue with compatibility for latest version of Axios (0.27.x)
4141-### Removed
4242-- Removed deprecated enum model generation
6767+## 0.27.30
43684444-## [0.21.0] - 2022-04-06
4545-### Fixed
4646-- Return `undefined` to match `noImplicitReturns` rule
4747-- Made `BaseHttpRequest` class abstract
4848-- Removed private fields using `#` inside `CancelablePromise`
4949-- Removed unneeded import `AbortController` from `node-fetch` client
5050-- Filter out wrong enum values
6969+### Minor Changes
51705252-## [0.20.1] - 2022-02-25
5353-### Fixed
5454-- Support enums with single quotes in names for V2
7171+- Prefer unknown instead of any in generated client
55725656-## [0.20.0] - 2022-02-25
5757-### Fixed
5858-- Updated dependencies
5959-- Support enums with single quotes in names for V3
6060-- Generating better names when `operationId` is not given (breaking change)
6161-- Fixed issue where `x-enum` flags where breaking due to non-string values
7373+## 0.27.29
62746363-## [0.19.0] - 2022-02-02
6464-### Added
6565-- Support for Angular client with `--name` option
6666-- Added test cases for Angular client
7575+### Minor Changes
67766868-## [0.18.2] - 2022-02-02
6969-### Fixed
7070-- Updated dependencies
7171-- Fixed type definition
7272-### Added
7373-- Added test cases for CLI commands
7474-- Added test cases for query parsing
7777+- Rename openapi command to openapi-ts
75787676-## [0.18.1] - 2022-01-31
7777-### Fixed
7878-- Escaping error description
7979-- Made `Client.request` and `BaseHttpRequest.config` props public
7979+- Add basic support for response that are Blobs
80808181-_## [0.18.0] - 2022-01-28
8282-### Added
8383-- Angular client generation!
8484-- Updated documentation with more examples and better descriptions
8181+## 0.27.28
85828686-## [0.17.0] - 2022-01-26
8787-### Fixed
8888-- Shorthand notation for properties passed through constructor
8989-- Simplified creation of headers
9090-- Prepare codebase for Angular client
8383+### Minor Changes
91849292-## [0.16.2] - 2022-01-26
9393-### Fixed
9494-- Removed dependency on `URLSearchParams` to support browser and node without any additional imports
8585+- Generate enums as JavaScript objects
95869696-## [0.16.1] - 2022-01-26
9797-### Fixed
9898-- Correct export inside `index.ts` when giving a custom name
8787+- Use shorthand object properties in service calls
9988100100-## [0.16.0] - 2022-01-25
101101-### Added
102102-- Added option to set the indentation (spaces and tabs)
103103-- Added option to export separate client file that allows usage for multiple backends
104104-### Fixed
105105-- Decoupled OpenAPI object from requests
106106-- Updated dependencies
8989+## 0.27.27
10790108108-## [0.15.0] - 2022-01-24
109109-### Added
110110-- Added change log and releases on GitHub
9191+### Minor Changes
11192112112-## [0.14.0] - 2022-01-24
113113-### Fixed
114114-- Added missing `postfix` options to typedef
115115-- Updated escaping of comments and descriptions
116116-- Better handling of services without tags
117117-- Updated dependencies
9393+- Handle cases where a project does not have dependencies when checking to run Prettier
9494+9595+## 0.27.26
9696+9797+### Minor Changes
9898+9999+- Skip global parameters if they are duplicates of path parameters
100100+101101+- remove option to indent code
102102+103103+## 0.27.25
104104+105105+### Minor Changes
106106+107107+- Correctly set content-type header, even when body is falsy
108108+109109+## 0.27.24
110110+111111+### Minor Changes
112112+113113+- Remove union types flag (this is now default)
114114+115115+## 0.27.23
116116+117117+### Minor Changes
118118+119119+- Support printing exact arrays
120120+121121+## 0.27.22
122122+123123+### Minor Changes
124124+125125+- Add option to specify custom base path
126126+127127+- Fix spacing in cancelable promise
128128+129129+## 0.27.21
130130+131131+### Minor Changes
132132+133133+- Add explicit flags for generics
134134+135135+## 0.27.20
136136+137137+### Minor Changes
138138+139139+- Do not require type to be set for object properties
140140+141141+## 0.27.19
142142+143143+### Minor Changes
144144+145145+- Do not insert generics into custom client
146146+147147+## 0.27.18
148148+149149+### Minor Changes
150150+151151+- Support returning raw result object
152152+153153+- Allow passing config
154154+155155+## 0.27.17
156156+157157+### Minor Changes
158158+159159+- Generate nullable interface when isNullable is true
160160+161161+## 0.27.16
162162+163163+### Minor Changes
164164+165165+- Generate types for services when useOptions is true
166166+167167+## 0.27.15
168168+169169+### Minor Changes
170170+171171+- Fix wrong path on Windows
172172+173173+## 0.27.14
174174+175175+### Minor Changes
176176+177177+- Change imports to match project style
178178+179179+## 0.27.13
180180+181181+### Minor Changes
182182+183183+- Support printing Date instead of string for date-time formats in models
184184+185185+## 0.27.12
186186+187187+### Minor Changes
188188+189189+- Escape enum name when exported
190190+191191+## 0.27.11
192192+193193+### Minor Changes
194194+195195+- Fix typo in template header
196196+197197+## 0.27.10
198198+199199+### Minor Changes
200200+201201+- Escape newlines when outputting pattern string value in schemas
202202+203203+## 0.27.9
204204+205205+### Minor Changes
206206+207207+- Start passing options object instead of positional parameters
208208+209209+- Handle composition of any-of and properties
210210+211211+- Allow ignoring operation ID when generating operation names
212212+213213+- Propagate useVersionId to Swagger V2 parser
214214+215215+- Change --ingoreOperationId to --useOperationId
216216+217217+## 0.27.8
218218+219219+### Minor Changes
220220+221221+- Support non-ascii (unicode) characters in service name, operation name, and parameter name
222222+223223+## 0.27.7
224224+225225+### Minor Changes
226226+227227+- Bump dependencies
228228+229229+## 0.27.6
230230+231231+### Minor Changes
232232+233233+- Allow overriding request body name with x-body-name key
234234+235235+## 0.27.5
236236+237237+### Minor Changes
238238+239239+- Type additional properties with properties
240240+241241+- Parse array items only if parent definition has type
242242+243243+## 0.27.4
244244+245245+### Minor Changes
246246+247247+- Bump dependencies
248248+249249+## 0.27.3
250250+251251+### Minor Changes
252252+253253+- Support autoformat option flag
254254+255255+- Handle more cases of any-of
256256+257257+- Support regexp to select models to export
258258+259259+- Return optional success response on 204 status code
260260+261261+- Fix nested any-of
262262+263263+- Add const support
+2-1
CONTRIBUTING.md
···39393. Ensure the builds work by running: `npm run build`
40404. Ensure the tests will pass by running: `npm run test`
41415. Ensure the code is formatted by running: `npm run lint:fix`
4242-6. Commit your changes using a descriptive commit message
4242+6. Ensure that you create a changeset if required by running: `npm run changeset`
4343+7. Commit your changes using a descriptive commit message
43444445After your Pull Request is created, it will automatically be build and tested in GitHub actions. Once successful it will be ready for review.