1708 Commits

Author SHA1 Message Date
Sjoerd Mulder
cb4732d14f Simlified if statements 2021-12-23 08:54:51 +01:00
Ferdi Koomen
0eb5e91ce4 - Added types for some methods
- Fixed build after PR's
- Exported Cancelation Error
2021-12-22 18:16:34 +01:00
Ferdi Koomen
c39e82fff5 Merge branch 'master' of github.com:ferdikoomen/openapi-typescript-codegen 2021-12-22 17:33:57 +01:00
Ferdi Koomen
e2014db63a - Removed file type 2021-12-22 17:33:50 +01:00
Ferdi Koomen
e6945897d3
Merge pull request #741 from sjoerdmulder/feature/discriminator
Adding oneOf with discriminator property support
2021-12-22 11:29:57 -05:00
Ferdi Koomen
d11d7c1448
Merge pull request #740 from sjoerdmulder/feature/formdata-as-body
Allow FormData as body argument
2021-12-22 11:29:37 -05:00
Ferdi Koomen
800236d727
Merge pull request #910 from jurgenbelien/feature/description-in-schema
Add description to schema output
2021-12-22 11:27:35 -05:00
Sjoerd Mulder
9680e9c744 Allow FormData as body argument 2021-12-21 14:24:00 +01:00
Sjoerd Mulder
d82f3eb706 Removed whitespace 2021-12-21 14:08:04 +01:00
Sjoerd Mulder
a543b9d490 Adding discriminator support for oneOf 2021-12-21 14:05:19 +01:00
Ferdi Koomen
1508588e6f Updated snapshot after PR 2021-12-20 20:19:46 +01:00
Ferdi Koomen
b2faf4f583
Merge pull request #913 from orus-tech/master
Fix client compilation error in base64()
2021-12-20 14:00:11 -05:00
Samuel Rossille
21d0e116e7 Fix client compilation error in base64()
Context :

The base64 function tries using the btoa function and falls back to
using Buffer if btoa is not available.

Problem :

In the context of a dom, you have btoa, and you may not necessarily have
Buffer, and in the case the fallback branch creates a compilation error
"TS2591: Cannot find name 'Buffer'."

Solution :

Add a @ts-ignore in the fallback branch because we will always have
either btoa or Buffer available in the forseable future.
2021-12-19 11:05:42 +01:00
Jurgen Beliën
ac0d8f9bb0 fix(templates): only escape single quotes 2021-12-10 09:28:13 +01:00
Jurgen Beliën
6e75fb0159 test: update snapshots 2021-12-09 18:32:37 +01:00
Jurgen Beliën
9f388bf182 feat: add descriptions to schema output 2021-12-09 18:32:36 +01:00
Ferdi Koomen
aae6306a5a - Updated dependencies 2021-12-02 09:20:52 -05:00
Ferdi Koomen
bc6123bf3b - Bumped version 2021-11-29 16:54:03 -05:00
Ferdi Koomen
e0b4e2d22a - Fixed #771 2021-11-29 16:52:20 -05:00
Ferdi Koomen
fa9b0536bf - Fixed #891 added support for multiple files in form data 2021-11-29 16:05:37 -05:00
Ferdi Koomen
e263cb27f6 - Fixed #892 2021-11-26 15:51:14 -05:00
Ferdi Koomen
6d822eb802 - Fixed #890 2021-11-26 14:55:31 -05:00
Ferdi Koomen
5533ed424a - Fixed typescript compile issue 2021-11-18 22:38:39 +01:00
Ferdi Koomen
1e410e75ea - Added better error handeling in axios client 2021-11-18 22:35:08 +01:00
Ferdi Koomen
133bd31473 - Added error handler for XHR when resource is unreachable 2021-11-16 21:14:22 +01:00
Ferdi Koomen
d482a5716d - Minor update in documentation
- Bumped version
2021-11-14 09:11:25 +01:00
Ferdi Koomen
7e8d66b90a - Fixed issue where similar model name and service name would result in filtering out the import 2021-11-13 10:20:19 +01:00
Ferdi Koomen
8485931b0a - Added documentation on Axios 2021-11-13 10:09:09 +01:00
Ferdi Koomen
1f9917b601 - Fixed issue with yarn lock 2021-11-12 10:10:47 +01:00
Ferdi Koomen
e5f81949ee - Using LTS to build 2021-11-12 10:05:33 +01:00
Ferdi Koomen
75a24bb507 - Fixing the rollup build 2021-11-12 10:00:10 +01:00
Ferdi Koomen
c07487c99b - Added test to check if errors are thrown correct 2021-11-12 09:55:41 +01:00
Ferdi Koomen
bbaa039d62 - Updated code to work with media types like "application/json; type=collection" where type is the first part of the header 2021-11-11 15:33:06 +01:00
Ferdi Koomen
f083ffb79d - Added multiple tags support 2021-11-11 13:01:11 +01:00
Ferdi Koomen
697de58134 - Added credentials mode for more granular controll 2021-11-11 09:36:47 +01:00
Ferdi Koomen
11a5254710 0.12.0-alpha.0 2021-11-10 14:34:46 +01:00
Ferdi Koomen
aecdc3eb15 - Added postfix property for service names
- Added cross blob for node js implementations
- Fixed unittests
- Fixed typing issue with headers
2021-11-10 14:31:03 +01:00
Ferdi Koomen
3b6716a018 - Upgraded dependencies 2021-11-06 09:38:51 +01:00
Ferdi Koomen
4203633008 - Updated dependencies 2021-11-01 13:10:58 +01:00
Ferdi Koomen
c0137757e6 - Updated line endings 2021-11-01 12:53:11 +01:00
Ferdi Koomen
ba0b79daac Fixed issue #782 2021-10-29 13:49:15 +02:00
Ferdi Koomen
35bda10d18 - Fixed binary format checking 2021-10-29 13:36:47 +02:00
Ferdi Koomen
9c9b2fa61c - Bumped package 2021-10-28 23:14:55 +02:00
Ferdi Koomen
db6d9ff307 - Removed test links 2021-10-28 23:13:20 +02:00
Ferdi Koomen
cc6c7f2241 - Fixed required field order for referenced parameters 2021-10-28 23:12:30 +02:00
Ferdi Koomen
83a2370d3c - Fixed a minor issue with rest api version 2021-10-28 22:39:01 +02:00
Ferdi Koomen
4a967af3ac - Bumped version 2021-10-28 21:35:14 +02:00
Ferdi Koomen
cce208e514 - Prefer media type order in spec 2021-10-28 21:30:52 +02:00
Ferdi Koomen
5a7c58873f - Fixed bundle when loading from url and resolving relative paths 2021-10-28 21:17:24 +02:00
Ferdi Koomen
2070f9599f - Added missing form data header 2021-10-28 20:57:31 +02:00