1629 Commits

Author SHA1 Message Date
Ferdi Koomen
b532279969 - Updated dependencies 2021-10-18 10:40:08 +02:00
Ferdi Koomen
626881a080
Merge pull request #858 from ferdikoomen/dependabot/npm_and_yarn/axios-0.23.0
build(deps): bump axios from 0.22.0 to 0.23.0
2021-10-12 19:50:10 +02:00
dependabot[bot]
db007934dd
build(deps): bump axios from 0.22.0 to 0.23.0
Bumps [axios](https://github.com/axios/axios) from 0.22.0 to 0.23.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-12 17:20:10 +00:00
Ferdi Koomen
762dd73a38 - Updated dependencies 2021-10-12 19:17:41 +02:00
Ferdi Koomen
519d26b1c6 - Updated badges 2021-10-11 23:36:13 +02:00
Ferdi Koomen
ab29880584 - Updated snapshot 2021-10-11 23:10:49 +02:00
Ferdi Koomen
2cd1fe1651 - Formatted build script 2021-10-11 23:05:53 +02:00
Ferdi Koomen
4b5060ed01 - Simplified sort
- Updated axios client to use getHeaders when available
2021-10-11 22:38:58 +02:00
Ferdi Koomen
22b30e04f5 - Removed travis 2021-10-11 17:41:09 +02:00
Ferdi Koomen
b996a4b7fd - Removed js-yaml from lock file 2021-10-11 14:37:32 +02:00
Ferdi Koomen
92ad2ae772 - Removed yaml loader in favor of refparser 2021-10-11 14:23:12 +02:00
Ferdi Koomen
b3a08a7c69 - Fixed #493 and #856 2021-10-11 14:18:28 +02:00
Ferdi Koomen
55aec82b8c
Merge pull request #857 from xiaoyu-tamu/patch-1
fix(*): add missing config
2021-10-11 13:14:17 +02:00
Ferdi Koomen
20f809493c - Updated dependencies 2021-10-11 13:10:12 +02:00
Michael Li
29aa9da819
fix(*): add missing config 2021-10-09 23:59:26 -05:00
Ferdi Koomen
b1e136e4ba
Merge pull request #855 from ferdikoomen/dependabot/npm_and_yarn/jest-27.2.5 2021-10-08 23:48:34 +02:00
dependabot[bot]
4e966d2482
build(deps-dev): bump jest from 27.2.4 to 27.2.5
Bumps [jest](https://github.com/facebook/jest) from 27.2.4 to 27.2.5.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.4...v27.2.5)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 21:37:57 +00:00
Ferdi Koomen
5b3348d6f9 - Added axios client
- Added function to escape path and stopped replacement of ":" character in path
2021-10-08 23:34:49 +02:00
Ferdi Koomen
de3a44ae1b
Merge pull request #853 from ferdikoomen/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.33.0 2021-10-06 08:39:58 +02:00
Ferdi Koomen
3d1700a340
Merge pull request #852 from ferdikoomen/dependabot/npm_and_yarn/types/node-16.10.3 2021-10-06 08:39:35 +02:00
dependabot[bot]
3f67a27cee
build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.31.2 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 06:39:08 +00:00
Ferdi Koomen
8728fcf89a
Merge pull request #846 from ferdikoomen/dependabot/npm_and_yarn/jest-27.2.4 2021-10-06 08:37:31 +02:00
dependabot[bot]
ad12b9374c
build(deps-dev): bump @types/node from 16.10.1 to 16.10.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.1 to 16.10.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 06:37:22 +00:00
dependabot[bot]
512e7edcc6
build(deps-dev): bump jest from 27.2.2 to 27.2.4
Bumps [jest](https://github.com/facebook/jest) from 27.2.2 to 27.2.4.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v27.2.2...v27.2.4)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 06:37:07 +00:00
Ferdi Koomen
e06ffc4773
Merge pull request #847 from ferdikoomen/dependabot/npm_and_yarn/rollup-2.58.0 2021-10-06 08:36:12 +02:00
Ferdi Koomen
83bb11f888
Merge pull request #845 from ferdikoomen/dependabot/npm_and_yarn/jest-cli-27.2.4 2021-10-06 08:36:04 +02:00
Ferdi Koomen
ec43858d75
Merge pull request #844 from ferdikoomen/dependabot/npm_and_yarn/rollup/plugin-commonjs-21.0.0 2021-10-06 08:35:56 +02:00
Ferdi Koomen
728796c432
Merge pull request #843 from ferdikoomen/dependabot/npm_and_yarn/node-fetch-3.0.0 2021-10-06 08:35:44 +02:00
Ferdi Koomen
65152ec9dc
Merge pull request #842 from ferdikoomen/dependabot/npm_and_yarn/typescript-eslint/parser-4.32.0 2021-10-06 08:35:22 +02:00
Ferdi Koomen
82654f771a
Merge pull request #841 from ferdikoomen/dependabot/npm_and_yarn/types/node-fetch-3.0.3 2021-10-06 08:35:07 +02:00
Ferdi Koomen
687b678f33 - Fixed sorting function 2021-10-05 22:41:28 +02:00
dependabot[bot]
ef10870651
build(deps-dev): bump rollup from 2.57.0 to 2.58.0
Bumps [rollup](https://github.com/rollup/rollup) from 2.57.0 to 2.58.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.57.0...v2.58.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 04:20:04 +00:00
dependabot[bot]
6ec4a52046
build(deps-dev): bump jest-cli from 27.2.2 to 27.2.4
Bumps [jest-cli](https://github.com/facebook/jest/tree/HEAD/packages/jest-cli) from 27.2.2 to 27.2.4.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.2.4/packages/jest-cli)

---
updated-dependencies:
- dependency-name: jest-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 04:19:26 +00:00
dependabot[bot]
666446f21d
build(deps-dev): bump @rollup/plugin-commonjs from 20.0.0 to 21.0.0
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 20.0.0 to 21.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v21.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 04:18:52 +00:00
dependabot[bot]
c7f542c5fe
build(deps): bump node-fetch from 2.6.5 to 3.0.0
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 3.0.0.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.5...v3.0.0)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 04:18:32 +00:00
dependabot[bot]
c1f4182500
build(deps-dev): bump @typescript-eslint/parser from 4.31.2 to 4.32.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.31.2 to 4.32.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.32.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 04:18:17 +00:00
dependabot[bot]
6856ece49a
build(deps): bump @types/node-fetch from 2.5.12 to 3.0.3
Bumps [@types/node-fetch](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node-fetch) from 2.5.12 to 3.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node-fetch)

---
updated-dependencies:
- dependency-name: "@types/node-fetch"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-04 04:17:57 +00:00
Ferdi Koomen
b28173c635
Merge pull request #682 from dbo/GH-633
GH-633: Fix --useUnionTypes
2021-09-30 10:55:52 +02:00
Ferdi Koomen
675c9705e2 - Added fallback to get non standard mediaType from response 2021-09-28 23:37:02 +02:00
Ferdi Koomen
1633970c42 - Reverted test spec 2021-09-28 22:22:43 +02:00
Ferdi Koomen
50c44cce7e - Support for JSON Schema type "as an array of primary types" 2021-09-28 22:20:05 +02:00
Ferdi Koomen
931ee9c805 - Added support for node fetch 3.x, but recommend 2.x for Jest and NodeJS compatibility 2021-09-28 10:30:49 +02:00
Ferdi Koomen
75c335a24a - Added support for node-fetch 3.0.0 (breaking change) 2021-09-27 22:40:53 +02:00
Ferdi Koomen
17d3c74afa - Also add path escaping 2021-09-27 18:53:58 +02:00
Ferdi Koomen
f77b0b7558 Merge branch 'master' of github.com:ferdikoomen/openapi-typescript-codegen
# Conflicts:
#	src/templates/core/fetch/getHeaders.hbs
#	src/templates/core/node/getHeaders.hbs
#	src/templates/core/xhr/getHeaders.hbs
2021-09-27 18:50:04 +02:00
Ferdi Koomen
691794b6ee - Added 204 handling to xhr 2021-09-27 18:48:31 +02:00
Ferdi Koomen
4f056c64aa
Merge pull request #793 from todesstoss/fix-get-ref-on-encoded-ref-path
Fix getRef on encoded  path, issue: https://github.com/ferdikoomen/op…
2021-09-27 18:47:27 +02:00
Ferdi Koomen
bbaf97020a
Merge pull request #761 from Ronaldvdh-ISAAC/filter-undefined-headers
Filter undefined headers before creating the headers
2021-09-27 18:41:52 +02:00
Ferdi Koomen
f82ccc94dd Merge branch 'master' of github.com:ferdikoomen/openapi-typescript-codegen 2021-09-27 18:15:24 +02:00
Ferdi Koomen
45e1b61ec0
Merge pull request #683 from dbo/GH-681
GH-681: Handle empty responses (status 204)
2021-09-27 18:15:12 +02:00