Ferdi Koomen
800d969a2f
Merge pull request #2053 from tajnymag/bugfix/issue-2052
...
Fixed issue 2052
2024-03-17 20:47:32 +01:00
Ferdi Koomen
a9af76d829
Merge pull request #2049 from lausek/fix/typo-in-template
...
fix: typo in template header
2024-03-17 20:46:01 +01:00
Ferdi Koomen
99695b68a8
Merge branch 'master' into bugfix/issue-2052
2024-03-17 20:45:45 +01:00
Ferdi Koomen
a5980fc4fe
Merge pull request #2057 from hhelmken/master
...
Fix whitespace in CancelablePromise.hbs
2024-03-17 20:44:31 +01:00
Ferdi Koomen
7ac99d4094
Merge pull request #2066 from fpoppinga/fix-falsy-headers
...
fix: infer media-type for falsy bodies except 'undefined'
2024-03-17 20:44:07 +01:00
Yevhen Kifiak
b7f1a91650
fix: updated axios sendRequest
...
backwards compatibility for axios vulnerable parameter
2024-03-14 11:32:04 +02:00
Finn Poppinga
06fc90916f
fix: infer media-type for falsy bodies except 'undefined'
2024-03-13 17:25:03 +01:00
Hendrik Helmken
134d6b23b6
Fix whitespace in CancelablePromise.hbs
2024-03-07 09:23:59 +01:00
Marek Lukáš
43a5786c92
Changed imports a bit to stop closer match project style
2024-03-02 15:55:42 +01:00
Marek Lukáš
15fa2ac61a
Fixed issue 2052
...
Both of these had to be made together to pass our tests
1. always pass absolute url to json-schema-ref-parser
2. update json-schema-ref-parser to v11.1.0
2024-03-02 15:42:12 +01:00
lausek
7f75a0e8f4
fix: typo in template header
2024-02-25 10:43:57 +01:00
Ferdi Koomen
8ac98aaf78
Updated Angular version, need to fix E2E tests
2023-11-14 10:43:50 +01:00
Ferdi Koomen
2bfeefa61c
Updated promise resolving to Promise.all() and switched to new json-schema-ref-parser
2023-11-14 10:20:55 +01:00
Ferdi Koomen
432cd26fbc
Fixed package lock and formatted code
2023-07-28 12:20:01 +01:00
Ferdi Koomen
beccf2dede
Merge pull request #1627 from pitmullerIngka/fix/next-promise-resolve
...
fix: adjust promise resolve for next issue
2023-07-28 12:02:12 +01:00
Cajetan Grill
d97edce979
Updated file system tests to be OS-agnostic
...
- Test results for write operations are now designed to match irrespective of the system's path encoding: The previously used UNIX-style path strings do not match on Windows systems. Therefore, expected paths are now being resolved as they are in their corresponding write function.
- Unit tests should now pass on all systems.
2023-07-28 11:22:56 +02:00
Cajetan Grill
e0596a22a0
Updated code format tests to be OS-agnostic
...
- Test results for formatCode.ts are now designed to match irrespective of the system's line separators: The previously used multi-line template strings created UNIX-style line separators, which do not match on Windows systems. Therefore, line endings are now explicitly written into the expected output string, unfortunately affecting readability.
- Inside `formatCode`, input strings are now split into lines by any valid line separator. Previously, only the system's line separators have been considered, which may produce some unexpected results when receiving line endings from other systems.
2023-07-28 11:08:46 +02:00
Pit Müller
11f84f51ed
fix: adjust additional intermediate value call
2023-07-14 08:36:47 +02:00
Pit Müller
41e25b86e2
fix: adjust promise resolve for next issue
2023-07-05 14:26:47 +02:00
Ferdi Koomen
aa59c50605
Merge pull request #1497 from gz/generated-header
...
Indicate auto-generation in file headers.
2023-07-05 10:09:40 +02:00
Ferdi Koomen
80304d996a
Merge pull request #1434 from Or-Zarchi-Forter/master
...
Allow usage of a custom axios instance
2023-07-05 10:00:25 +02:00
Gerd Zellweger
744bb4e42d
Add a line to the file header indicating that the file is auto-generated.
2023-04-25 05:52:29 +00:00
Ferdi Koomen
275ec27650
Merge branch 'master' of github.com:ferdikoomen/openapi-typescript-codegen
2023-04-11 09:59:50 +02:00
Ferdi Koomen
bfbb6d2a74
Fixed tets cases
2023-04-11 09:59:38 +02:00
Ferdi Koomen
d5ca21c64e
Merge pull request #1067 from kulczy/arrays
...
Prevent duplication of parameter names
2023-04-11 09:58:09 +02:00
Ferdi Koomen
56d6b7b187
Merge pull request #1319 from seivan/patch-1
...
Support exactOptionalPropertyTypes
2023-04-11 09:37:15 +02:00
Ferdi Koomen
280e96f38a
Merge pull request #1363 from LittleUmbrella/master
...
add more detail to Generic Error message for easier troubleshooting
2023-04-11 09:04:31 +02:00
Ferdi Koomen
30bc235ac7
Merge pull request #1442 from edwinveldhuizen/feature/extendable-custom-request
...
[request] export used functions for reusability
2023-04-11 08:37:09 +02:00
Ferdi Koomen
80880e69c5
Merge branch 'master' into parameter-components
2023-04-11 08:34:21 +02:00
Ferdi Koomen
fd93a764bf
Fixed build issue
2023-04-10 13:47:30 +02:00
Ferdi Koomen
5b5b750712
Fixed builds
2023-04-10 13:42:29 +02:00
Ferdi Koomen
fa5dd81c94
Merge branch 'master' of github.com:ferdikoomen/openapi-typescript-codegen
2023-04-10 12:38:51 +02:00
Ferdi Koomen
8b52a04617
Updated dependencies, cleanup
2023-04-10 12:38:21 +02:00
Kræn Hansen
295812419c
Added parsing of parameter components
2023-03-09 17:01:28 +01:00
Michal
9845ce7d3b
Merge branch 'master' into CancellablePromise
2023-03-01 12:34:13 +01:00
mstosio
8b416381b6
Update toStringTag in CancellablePromise
2023-03-01 12:15:21 +01:00
Edwin Veldhuizen
4f00cd387c
Avoid double export
2023-02-22 16:38:49 +01:00
Edwin Veldhuizen
e552028995
[request] export used functions for reusability
2023-02-15 16:25:47 +01:00
Or Zarchi
f27366c9a9
Allow usage of a custom axios client
2023-02-05 22:52:27 +02:00
Toby Farris
371aba1639
add more detail to Generic Error message for easier troubleshooting. 'Generic Error' gives no insight into the nature of the issue, whereas having at least the http status conveys a great deal for troubleshooting
2022-12-13 13:20:22 -08:00
Seivan
a8fde3df30
Support exactOptionalPropertyTypes
...
A key being optional is different than the value being optional. Former indicates missing keys, while latter indicate, required key but missing value.
2022-11-14 23:16:09 +01:00
Ferdi Koomen
31ce4a23df
Merge branch 'master' into keywords
2022-10-28 10:41:27 +02:00
Ferdi Koomen
cf4f2f92f6
Merge branch 'master' into add-model-postfix
2022-10-28 10:37:34 +02:00
Ferdi Koomen
4379538a96
Merge pull request #1165 from kshramt/free-form-object
...
Support free-form objects
2022-10-28 10:36:15 +02:00
Ferdi Koomen
168da7abce
Merge pull request #1250 from sheshnathverma/master
...
Set default providedIn to root for angular client
2022-10-28 10:30:03 +02:00
Ferdi Koomen
175675422e
Merge pull request #1275 from vanhoofmaarten/fix/pattern-single-quote-escaping
...
Fix pattern single quote escaping
2022-10-28 10:28:13 +02:00
Maarten Van Hoof
3927dc6220
Fix pattern single quote escaping
2022-10-03 13:11:48 +02:00
Shesh
aeacd77f9f
Set default providedIn to root for angular client
...
Set default providedIn to root for angular client
2022-09-08 18:38:45 +05:30
Dennis Passway
05b2486647
Add json support for application/problem+json content type
2022-08-17 13:16:41 +02:00
Mauro Bieg
5d140cb860
Escape reserved keywords in schema names for v2, closes #1186
2022-08-10 11:12:18 +02:00