Ferdi Koomen
9049afd509
- Updated parsing of comments
2022-01-24 17:47:03 +01:00
Ferdi Koomen
3dde57a8ec
- Updated dependencies
...
- Aligned request cancelation between clients
2022-01-24 16:51:05 +01:00
Ferdi Koomen
07c98cf9e6
- Modernized setup and using typescript for test files
2022-01-06 18:41:57 +01:00
Ferdi Koomen
cfdbe48df3
- Removed cross-blob dependency since node now supports this
2022-01-06 15:18:16 +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
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
a543b9d490
Adding discriminator support for oneOf
2021-12-21 14:05:19 +01: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
9f388bf182
feat: add descriptions to schema output
2021-12-09 18:32:36 +01:00
Ferdi Koomen
fa9b0536bf
- Fixed #891 added support for multiple files in form data
2021-11-29 16:05:37 -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
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
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
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
433b4f1b21
- Working on support for formData in v3
2021-10-28 15:51:39 +02:00
Ferdi Koomen
73acbca085
- Fixed formatting of models (comma vs semicolumn)
...
- Fixed issue #867 where nullable prop would not have correct type
2021-10-26 17:18:51 +02:00
Ferdi Koomen
63f59e6c39
- Fixed just in time cancelation scenario
2021-10-24 10:55:01 +02:00
Ferdi Koomen
2deaa4321e
- Fixed undefined value
2021-10-20 08:59:23 +02:00
Ferdi Koomen
ea1406443b
- Formatted code
2021-10-19 22:06:34 +02:00
Ferdi Koomen
1a777738f8
- Updated formatting of cancelable promise
2021-10-19 21:56:48 +02:00
Ferdi Koomen
6b7efd1523
- Removed need for abort controller in axios implementation
...
- Fixed export of cancelable promise for custom requests
-
2021-10-19 21:47:56 +02:00
Ferdi Koomen
ad11e63a57
- Using private props in cancelable promise
...
- Updated snapshots
- Removed unused imports
2021-10-19 20:56:29 +02:00
Ferdi Koomen
d7c153ff55
Merge branch 'master' into feature/cancelable
...
# Conflicts:
# README.md
# package.json
# src/utils/registerHandlebarTemplates.ts
# test/__snapshots__/index.spec.js.snap
# test/custom/request.ts
# test/e2e/v3.fetch.spec.js
# test/e2e/v3.node.spec.js
# yarn.lock
2021-10-18 22:19:36 +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
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
b28173c635
Merge pull request #682 from dbo/GH-633
...
GH-633: Fix --useUnionTypes
2021-09-30 10:55:52 +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
691794b6ee
- Added 204 handling to xhr
2021-09-27 18:48:31 +02:00
Daniel Boelzle [:dbo]
eee9f42d58
GH-633: Fix --useUnionTypes
2021-05-06 17:35:57 +02:00
Daniel Boelzle [:dbo]
44462ba7c0
GH-681: Handle empty responses (status 204)
2021-05-06 15:35:03 +02:00
Ferdi Koomen
d7d50cefa1
- Simplified the header checks
...
- Names the bodyMediaType > mediaType, to align with swagger naming convention
2021-04-27 13:25:20 +02:00
Maarten Van Hoof
ea7f26b0e9
fix(getRequestBody): options.bodyMediaType can be undefined
2021-04-07 15:08:34 +02:00
Maarten Van Hoof
2eb3529d63
fix(request): respect mediaType
2021-04-07 14:59:15 +02:00
Ferdi Koomen
79788dae0b
- Fixed #632
2021-04-01 12:28:44 +02:00
Ferdi Koomen
826ae82dc1
- Fixed test spec for cancelation
2021-03-13 19:29:40 +01:00
Ferdi Koomen
7b5823ce75
- Added cancelable concept that works (rough)
2021-03-13 18:01:37 +01:00
Ferdi Koomen
f9a73a0a21
- Working on cancelable api
2021-03-13 00:01:58 +01:00
Ferdi Koomen
1dcbfdad77
Adding cancelable promise
2021-03-12 23:26:41 +01:00
Ferdi Koomen
04b23cac6f
- Added request options to resolvers
2021-02-26 23:05:45 +01:00
Ferdi Koomen
47d479f268
- Fixed configuration values beeing passed to partials when using composition
2021-01-27 22:06:03 +01:00
Ferdi Koomen
9ed2870d1d
- Generating unique types for unions
2020-12-19 13:28:59 +01:00