Skip to content

Update project with latest version of original project #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 143 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
0b3b1e6
build(deps-dev): Bump @typescript-eslint/parser from 6.19.0 to 6.19.1…
dependabot[bot] Jan 22, 2024
3928d47
build(deps-dev): Bump puppeteer from 21.7.0 to 21.9.0 (#1998)
dependabot[bot] Jan 24, 2024
5785a2d
build(deps-dev): Bump @types/node from 20.11.5 to 20.11.6 (#1999)
dependabot[bot] Jan 24, 2024
0e5f648
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#1994)
dependabot[bot] Jan 24, 2024
8054726
build(deps-dev): Bump @babel/preset-env from 7.23.8 to 7.23.9 (#2001)
dependabot[bot] Jan 25, 2024
ac7fd5e
build(deps-dev): Bump axios from 1.6.5 to 1.6.7 (#2002)
dependabot[bot] Jan 25, 2024
d114b8d
build(deps-dev): Bump @babel/cli from 7.23.4 to 7.23.9 (#2004)
dependabot[bot] Jan 25, 2024
76b1895
build(deps-dev): Bump @babel/core from 7.23.7 to 7.23.9 (#2003)
dependabot[bot] Jan 25, 2024
9141102
build(deps-dev): Bump @types/node from 20.11.6 to 20.11.7 (#2006)
dependabot[bot] Jan 26, 2024
edb5f08
build(deps-dev): Bump @types/node from 20.11.7 to 20.11.10 (#2013)
dependabot[bot] Jan 29, 2024
42b8cf3
build(deps-dev): Bump puppeteer from 21.9.0 to 21.10.0 (#2014)
dependabot[bot] Jan 29, 2024
4c436d4
build(deps-dev): Bump @typescript-eslint/parser from 6.19.1 to 6.20.0…
dependabot[bot] Jan 29, 2024
5b84bf4
build(deps-dev): Bump @types/node from 20.11.10 to 20.11.11 (#2018)
dependabot[bot] Jan 30, 2024
71b5e38
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2016)
dependabot[bot] Jan 30, 2024
7ac1d5f
build(deps-dev): Bump @types/node from 20.11.11 to 20.11.14 (#2020)
dependabot[bot] Jan 31, 2024
9919b88
build(deps-dev): Bump @types/jest from 29.5.11 to 29.5.12 (#2021)
dependabot[bot] Feb 1, 2024
7e71126
build(deps-dev): Bump puppeteer from 21.10.0 to 21.11.0 (#2023)
dependabot[bot] Feb 2, 2024
049656e
build(deps-dev): Bump @types/node from 20.11.14 to 20.11.16 (#2022)
dependabot[bot] Feb 2, 2024
ff140ec
build(deps-dev): Bump prettier from 3.2.4 to 3.2.5 (#2025)
dependabot[bot] Feb 5, 2024
fbd96f0
build(deps-dev): Bump @typescript-eslint/parser from 6.20.0 to 6.21.0…
dependabot[bot] Feb 5, 2024
f523913
build(deps-dev): Bump @types/node from 20.11.16 to 20.11.17 (#2032)
dependabot[bot] Feb 8, 2024
4069ea0
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2028)
dependabot[bot] Feb 8, 2024
f63ddde
build(deps-dev): Bump ip from 1.1.8 to 1.1.9 (#2045)
dependabot[bot] Feb 20, 2024
33a3c40
build(deps-dev): Bump follow-redirects from 1.15.5 to 1.15.6 (#2069)
dependabot[bot] Mar 16, 2024
b6ae390
Updated dependencies
ferdikoomen Mar 17, 2024
5dd974f
fix: updated axios sendRequest
Mar 14, 2024
9e5e265
fix: infer media-type for falsy bodies except 'undefined'
fpoppinga Mar 13, 2024
bbb5140
Fix whitespace in CancelablePromise.hbs
hhelmken Mar 7, 2024
0702fe9
fix: typo in template header
lausek Feb 25, 2024
a49ab34
Fixed issue 2052
tajnymag Mar 2, 2024
f8a8112
Changed imports a bit to stop closer match project style
tajnymag Mar 2, 2024
ead2f68
updated test snapshots
ferdikoomen Mar 17, 2024
877b3ed
build(deps-dev): Bump @types/qs from 6.9.12 to 6.9.13 (#2071)
dependabot[bot] Mar 18, 2024
5de68c5
build(deps-dev): Bump @types/node from 20.11.28 to 20.11.29 (#2073)
dependabot[bot] Mar 18, 2024
d06549a
build(deps-dev): Bump @typescript-eslint/parser from 7.2.0 to 7.3.0 (…
dependabot[bot] Mar 18, 2024
d64133c
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2072)
dependabot[bot] Mar 18, 2024
8364eff
Updated change-log for 0.28.0
ferdikoomen Mar 19, 2024
8ad5952
build(deps-dev): Bump @babel/core from 7.24.0 to 7.24.1 (#2075)
dependabot[bot] Mar 19, 2024
d2ab3cd
build(deps-dev): Bump @types/node from 20.11.29 to 20.11.30 (#2076)
dependabot[bot] Mar 19, 2024
1936115
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2077)
dependabot[bot] Mar 19, 2024
73310c4
build(deps-dev): Bump @babel/preset-typescript from 7.23.3 to 7.24.1 …
dependabot[bot] Mar 19, 2024
ddb19a5
build(deps-dev): Bump @babel/cli from 7.23.9 to 7.24.1 (#2079)
dependabot[bot] Mar 19, 2024
f40323b
build(deps-dev): Bump @babel/preset-env from 7.24.0 to 7.24.1 (#2078)
dependabot[bot] Mar 19, 2024
0cdceda
build(deps-dev): Bump @typescript-eslint/parser from 7.3.0 to 7.3.1 (…
dependabot[bot] Mar 19, 2024
468f741
build(deps-dev): Bump puppeteer from 22.5.0 to 22.6.0 (#2083)
dependabot[bot] Mar 20, 2024
f3daf3f
build(deps-dev): Bump @babel/preset-env from 7.24.1 to 7.24.3 (#2084)
dependabot[bot] Mar 20, 2024
6f8a511
build(deps-dev): Bump @types/qs from 6.9.13 to 6.9.14 (#2085)
dependabot[bot] Mar 20, 2024
500265e
build(deps-dev): Bump express from 4.18.3 to 4.19.0 (#2087)
dependabot[bot] Mar 20, 2024
1341ef3
build(deps-dev): Bump @babel/core from 7.24.1 to 7.24.3 (#2086)
dependabot[bot] Mar 20, 2024
7839906
build(deps-dev): Bump express from 4.19.0 to 4.19.1 (#2089)
dependabot[bot] Mar 21, 2024
2328003
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2092)
dependabot[bot] Mar 25, 2024
ac724e8
build(deps-dev): Bump express from 4.19.1 to 4.19.2 (#2093)
dependabot[bot] Mar 25, 2024
c11dc38
build(deps-dev): Bump @typescript-eslint/parser from 7.3.1 to 7.4.0 (…
dependabot[bot] Mar 25, 2024
262310b
build(deps-dev): Bump glob from 10.3.10 to 10.3.12 (#2096)
dependabot[bot] Mar 28, 2024
95ae12a
build(deps-dev): Bump @types/node from 20.11.30 to 20.12.2 (#2097)
dependabot[bot] Apr 1, 2024
d00a3cd
build(deps-dev): Bump puppeteer from 22.6.1 to 22.6.2 (#2098)
dependabot[bot] Apr 2, 2024
e8431a3
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2099)
dependabot[bot] Apr 2, 2024
a8158d3
build(deps-dev): Bump @types/node from 20.12.2 to 20.12.3 (#2100)
dependabot[bot] Apr 2, 2024
ad37943
build(deps-dev): Bump @babel/core from 7.24.3 to 7.24.4 (#2102)
dependabot[bot] Apr 3, 2024
c6c403a
build(deps-dev): Bump @typescript-eslint/parser from 7.4.0 to 7.5.0 (…
dependabot[bot] Apr 3, 2024
57c3672
build(deps-dev): Bump @babel/preset-env from 7.24.3 to 7.24.4 (#2103)
dependabot[bot] Apr 3, 2024
2b7650e
build(deps-dev): Bump @types/node from 20.12.3 to 20.12.4 (#2104)
dependabot[bot] Apr 4, 2024
eb0127a
build(deps-dev): Bump puppeteer from 22.6.2 to 22.6.3 (#2105)
dependabot[bot] Apr 5, 2024
d03efd0
Updated main branch name
ferdikoomen Apr 5, 2024
564da8c
Updated readme with migration message
ferdikoomen Apr 7, 2024
f0b7fa3
Minor update in package lock
ferdikoomen Apr 7, 2024
e03e8b0
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2106)
dependabot[bot] Apr 8, 2024
82b7319
build(deps-dev): Bump @types/node from 20.12.4 to 20.12.5 (#2107)
dependabot[bot] Apr 8, 2024
38cc0a5
build(deps-dev): Bump @types/node from 20.12.5 to 20.12.7 (#2109)
dependabot[bot] Apr 9, 2024
4dff701
build(deps-dev): Bump @typescript-eslint/parser from 7.5.0 to 7.6.0 (…
dependabot[bot] Apr 9, 2024
a5852cf
build(deps-dev): Bump puppeteer from 22.6.3 to 22.6.4 (#2110)
dependabot[bot] Apr 11, 2024
94ca56a
build(deps-dev): Bump @typescript-eslint/parser from 7.6.0 to 7.7.0 (…
dependabot[bot] Apr 15, 2024
4a9025d
build(deps-dev): Bump eslint-plugin-simple-import-sort (#2115)
dependabot[bot] Apr 15, 2024
dcf7ab1
build(deps-dev): Bump @typescript-eslint/parser from 7.7.0 to 7.7.1 (…
dependabot[bot] Apr 22, 2024
be0d169
build(deps-dev): Bump qs and @types/qs (#2121)
dependabot[bot] Apr 22, 2024
2661289
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2120)
dependabot[bot] Apr 22, 2024
2cf2f70
build(deps-dev): Bump puppeteer from 22.6.5 to 22.7.0 (#2122)
dependabot[bot] Apr 23, 2024
3bce72a
build(deps-dev): Bump @babel/core from 7.24.4 to 7.24.5 (#2126)
dependabot[bot] Apr 29, 2024
b89ba99
build(deps-dev): Bump @typescript-eslint/parser from 7.7.1 to 7.8.0 (…
dependabot[bot] Apr 29, 2024
f3bf6c7
build(deps-dev): Bump zone.js from 0.14.4 to 0.14.5 (#2131)
dependabot[bot] Apr 30, 2024
dde26b8
build(deps-dev): Bump @babel/cli from 7.24.1 to 7.24.5 (#2128)
dependabot[bot] Apr 30, 2024
b7d1c18
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2129)
dependabot[bot] Apr 30, 2024
345abe3
build(deps-dev): Bump @babel/preset-env from 7.24.4 to 7.24.5 (#2130)
dependabot[bot] Apr 30, 2024
eee7b31
build(deps-dev): Bump @types/node from 20.12.7 to 20.12.8 (#2132)
dependabot[bot] May 1, 2024
29f480f
build(deps-dev): Bump puppeteer from 22.7.1 to 22.8.0 (#2134)
dependabot[bot] May 6, 2024
8024d11
build(deps-dev): Bump @types/node from 20.12.8 to 20.12.10 (#2135)
dependabot[bot] May 6, 2024
80a62db
build(deps): Bump undici and @angular-devkit/build-angular (#2136)
dependabot[bot] May 6, 2024
8a5836a
build(deps): Bump vite and @angular-devkit/build-angular (#2137)
dependabot[bot] May 6, 2024
27a5713
build(deps-dev): Bump @types/node from 20.12.10 to 20.12.11 (#2138)
dependabot[bot] May 8, 2024
3da0621
build(deps-dev): Bump glob from 10.3.12 to 10.3.14 (#2139)
dependabot[bot] May 9, 2024
ed84f10
build(deps-dev): Bump rimraf from 5.0.5 to 5.0.6 (#2140)
dependabot[bot] May 10, 2024
865dd22
build(deps-dev): Bump puppeteer from 22.8.0 to 22.8.1 (#2141)
dependabot[bot] May 13, 2024
c6c1407
build(deps-dev): Bump @typescript-eslint/eslint-plugin (#2142)
dependabot[bot] May 13, 2024
5027b08
build(deps-dev): Bump glob from 10.3.14 to 10.3.15 (#2143)
dependabot[bot] May 13, 2024
edfcb46
build(deps-dev): Bump rimraf from 5.0.6 to 5.0.7 (#2144)
dependabot[bot] May 13, 2024
1e46ce3
build(deps-dev): Bump @types/node from 20.12.11 to 20.12.12 (#2146)
dependabot[bot] May 14, 2024
0b4c722
build(deps-dev): Bump @typescript-eslint/parser from 7.8.0 to 7.9.0 (…
dependabot[bot] May 14, 2024
ab5cd75
build(deps-dev): Bump puppeteer from 22.8.1 to 22.8.2 (#2147)
dependabot[bot] May 15, 2024
9aeef18
build(deps-dev): Bump zone.js from 0.14.5 to 0.14.6 (#2149)
dependabot[bot] May 17, 2024
9c2b984
--- (#2151)
dependabot[bot] May 20, 2024
840de55
--- (#2152)
dependabot[bot] May 20, 2024
1c5eb84
--- (#2154)
dependabot[bot] May 20, 2024
555a4e2
--- (#2153)
dependabot[bot] May 20, 2024
dc7dbc4
--- (#2155)
dependabot[bot] May 21, 2024
755a917
--- (#2156)
dependabot[bot] May 21, 2024
619677d
Bump @rollup/plugin-commonjs from 25.0.7 to 25.0.8 (#2158)
dependabot[bot] May 22, 2024
1b5f876
Bump puppeteer from 22.9.0 to 22.10.0 (#2159)
dependabot[bot] May 24, 2024
c9618fd
Bump @babel/cli from 7.24.5 to 7.24.6 (#2160)
dependabot[bot] May 24, 2024
b2664fa
Bump @babel/preset-typescript from 7.24.1 to 7.24.6 (#2161)
dependabot[bot] May 24, 2024
7cbea2a
Bump glob from 10.3.16 to 10.4.1 (#2164)
dependabot[bot] May 24, 2024
99cfccb
Bump @babel/preset-env from 7.24.5 to 7.24.6 (#2163)
dependabot[bot] May 24, 2024
2e384d0
Bump @babel/core from 7.24.5 to 7.24.6 (#2162)
dependabot[bot] May 24, 2024
07381cb
Bump @typescript-eslint/parser from 7.10.0 to 7.11.0 (#2165)
dependabot[bot] May 27, 2024
de8f3f8
Bump @types/node from 20.12.12 to 20.12.13 (#2167)
dependabot[bot] May 29, 2024
5240f36
Bump @typescript-eslint/eslint-plugin from 7.10.0 to 7.11.0 (#2166)
dependabot[bot] May 29, 2024
e96894d
Bump @types/node from 20.12.13 to 20.13.0 (#2168)
dependabot[bot] May 31, 2024
540cf0c
Bump @typescript-eslint/parser from 7.11.0 to 7.12.0 (#2169)
dependabot[bot] Jun 3, 2024
e6b1314
Bump prettier from 3.2.5 to 3.3.0 (#2170)
dependabot[bot] Jun 3, 2024
f43aedf
Bump @types/node from 20.13.0 to 20.14.0 (#2171)
dependabot[bot] Jun 3, 2024
270cf05
Bump @typescript-eslint/eslint-plugin from 7.11.0 to 7.12.0 (#2172)
dependabot[bot] Jun 3, 2024
9748ee8
Bump tslib from 2.6.2 to 2.6.3 (#2174)
dependabot[bot] Jun 4, 2024
5b2e343
Bump @types/node from 20.14.0 to 20.14.1 (#2175)
dependabot[bot] Jun 4, 2024
7c7e032
Bump @babel/preset-env from 7.24.6 to 7.24.7 (#2176)
dependabot[bot] Jun 5, 2024
8eaeced
Bump @types/node from 20.14.1 to 20.14.2 (#2177)
dependabot[bot] Jun 5, 2024
1cb63b4
Bump @babel/cli from 7.24.6 to 7.24.7 (#2180)
dependabot[bot] Jun 5, 2024
2986de1
Bump prettier from 3.3.0 to 3.3.1 (#2182)
dependabot[bot] Jun 5, 2024
695de90
Bump @babel/core from 7.24.6 to 7.24.7 (#2181)
dependabot[bot] Jun 5, 2024
078a5cf
Bump @babel/preset-typescript from 7.24.6 to 7.24.7 (#2179)
dependabot[bot] Jun 5, 2024
335527a
Bump zone.js from 0.14.6 to 0.14.7 (#2183)
dependabot[bot] Jun 6, 2024
e00a7f6
Bump @typescript-eslint/parser from 7.12.0 to 7.13.0 (#2185)
dependabot[bot] Jun 10, 2024
32e5203
Bump @typescript-eslint/eslint-plugin from 7.12.0 to 7.13.0 (#2186)
dependabot[bot] Jun 10, 2024
1b9025f
Bump prettier from 3.3.1 to 3.3.2 (#2188)
dependabot[bot] Jun 11, 2024
56c23e9
Bump @typescript-eslint/eslint-plugin from 7.13.0 to 7.13.1 (#2193)
dependabot[bot] Jun 17, 2024
e526df7
Bump @types/node from 20.14.2 to 20.14.3 (#2195)
dependabot[bot] Jun 17, 2024
9241b05
Bump @typescript-eslint/parser from 7.13.0 to 7.13.1 (#2194)
dependabot[bot] Jun 17, 2024
a9a0515
Bump @types/node from 20.14.3 to 20.14.5 (#2196)
dependabot[bot] Jun 18, 2024
0cd6c2e
Bump puppeteer from 22.11.1 to 22.11.2 (#2197)
dependabot[bot] Jun 18, 2024
1903c93
Bump @types/node from 20.14.5 to 20.14.6 (#2198)
dependabot[bot] Jun 19, 2024
6efcf31
Bump glob from 10.4.1 to 10.4.2 (#2199)
dependabot[bot] Jun 19, 2024
f92ce8e
Bump @types/node from 20.14.6 to 20.14.7 (#2200)
dependabot[bot] Jun 20, 2024
5127874
Bump puppeteer from 22.11.2 to 22.12.0 (#2201)
dependabot[bot] Jun 21, 2024
e4deb91
Bump @types/node from 20.14.7 to 20.14.8 (#2203)
dependabot[bot] Jun 24, 2024
e958bd3
Bump @typescript-eslint/parser from 7.13.1 to 7.14.1 (#2204)
dependabot[bot] Jun 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
# Changelog
All notable changes to this project will be documented in this file.

## [0.29.0] - 2024-04-05
> Please migrate your projects to use [@hey-api/openapi-ts](https://github.com/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

### Fixed
- Upgraded dependencies


## [0.28.0] - 2024-03-19
### Fixed
- Upgraded dependencies
- Windows issue when resolving external spec files
- Media-type for falsy bodies except 'undefined'
- Updated typo in generated header
### Added
- Enabled `withXSRFToken` for Axios

## [0.27.0] - 2024-01-15
### Fixed
- Reverted `@apidevtools/json-schema-ref-parser` to version 10.1.0
Expand Down
29 changes: 13 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,23 @@ Forked from [openapi-typescript-codegen](https://github.com/ferdikoomen/openapi-

[![NPM][npm-image]][npm-url]
[![License][license-image]][license-url]
[![Coverage][coverage-image]][coverage-url]
[![Coverage][coverage-image]][coverage-url]
[![Downloads][downloads-image]][downloads-url]
[![Build][build-image]][build-url]

> Node.js library that generates Typescript clients based on the OpenAPI specification.

## Why?
- Frontend ❤️ OpenAPI, but we do not want to use JAVA codegen in our builds
- Quick, lightweight, robust and framework-agnostic 🚀
- Supports generation of TypeScript clients
- Supports generations of Fetch, Node-Fetch, Axios, Angular and XHR http clients
- Supports OpenAPI specification v2.0 and v3.0
- Supports JSON and YAML files for input
- Supports generation through CLI, Node.js and NPX
- Supports tsc and @babel/plugin-transform-typescript
- Supports aborting of requests (cancelable promise pattern)
- Supports external references using [json-schema-ref-parser](https://github.com/APIDevTools/json-schema-ref-parser/)

- Frontend ❤️ OpenAPI, but we do not want to use JAVA codegen in our builds
- Quick, lightweight, robust and framework-agnostic 🚀
- Supports generation of TypeScript clients
- Supports generations of Fetch, Node-Fetch, Axios, Angular and XHR http clients
- Supports OpenAPI specification v2.0 and v3.0
- Supports JSON and YAML files for input
- Supports generation through CLI, Node.js and NPX
- Supports tsc and @babel/plugin-transform-typescript
- Supports aborting of requests (cancelable promise pattern)
- Supports external references using [json-schema-ref-parser](https://github.com/APIDevTools/json-schema-ref-parser/)

## Install

Expand Down Expand Up @@ -61,12 +60,10 @@ $ openapi --help

## Documentation


The main documentation can be found in the [openapi-typescript-codegen/wiki](https://github.com/ferdikoomen/openapi-typescript-codegen/wiki)

## Sponsors


If you or your company use the OpenAPI Typescript Codegen, please consider supporting me. By sponsoring I can free up time to give this project some love! Details can be found here: https://github.com/sponsors/ferdikoomen

If you're from an enterprise looking for a fully managed SDK generation, please consider our sponsor:
Expand All @@ -81,5 +78,5 @@ If you're from an enterprise looking for a fully managed SDK generation, please
[license-image]: http://img.shields.io/npm/l/openapi-typescript-codegen.svg
[downloads-url]: http://npm-stat.com/charts.html?package=openapi-typescript-codegen
[downloads-image]: http://img.shields.io/npm/dm/openapi-typescript-codegen.svg
[build-url]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/master
[build-image]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/master.svg?style=svg
[build-url]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/main
[build-image]: https://circleci.com/gh/ferdikoomen/openapi-typescript-codegen/tree/main.svg?style=svg
Loading
Loading