-
#1424
8f5adb3
Thanks @drwpow! - Separate TS types to be managed manually -
Updated dependencies [
5be2082
]:- openapi-typescript-helpers@0.0.5
- #1404
93204e4
Thanks @drwpow! - Fix behavior for empty arrays and objects in defaultquerySerializer
- #1399
4fca1e4
Thanks @drwpow! -⚠️ Breaking: change default querySerializer behavior to producestyle: form
,explode: true
query params according to the OpenAPI specification. Also adds support fordeepObject
s (square bracket style).
- #1373
fd3e96f
Thanks @HugeLetters! - Added the option to provide custom fetch function to individual API calls.
-
#1366
04dbd6d
Thanks @drwpow! - Fix empty object being required param -
Updated dependencies [
04dbd6d
]:- openapi-typescript-helpers@0.0.4
- #1360
b59e431
Thanks @marcomuser! - Fix CJS build for TypeScript
- Updated dependencies [
996e51e
]:- openapi-typescript-helpers@0.0.3
- Updated dependencies [
e63a345
]:- openapi-typescript-helpers@0.0.2
- #1192
38ee8b4
Thanks @psychedelicious! - Fix header handling for FormData
-
0380e9a
Thanks @drwpow! - Add multipart/form-data request body support -
0380e9a
Thanks @drwpow! - Breaking: openapi-fetch now just takes the first media type it finds rather than preferring JSON. This is because in the case ofmultipart/form-data
vsapplication/json
, it’s not inherently clear which you’d want. Or if there were multiple JSON-like media types.
- #1183
431a98f
Thanks @psychedelicious! - Add globalquerySerializer()
option tocreateClient()
-
#1169
74bfc0d
Thanks @drwpow! - Expose createFinalURL() logic for testing -
#1169
74bfc0d
Thanks @drwpow! - Automatically removeundefined
andnull
query params without requiring querySerializer -
#1169
74bfc0d
Thanks @drwpow! - Allow overriding of JSON body parsing
- 97c8757: Add custom fetch option (#51). Thanks, @hd-o!
- 63ebe48: Fix request body type when optional (#48)
- 8c01480: Fix querySerializer signature
- e730cd8: Fix post() and options() types
- 5d1fb7d: Fix bad HTTP method lookup causing polymorphsim
- f878cd3: Add querySerializer
- 22197a1: Add missing type defs for minified build
- ff3174a: Fix type inference bugs
- 4ce3828: Skip parsing JSON for empty responses (#23)
- ff3ae1b: Skip parsing JSON for 204 responses (#28)
- 8e7cb46: Fix TypeScript lib error, simplify generated types
- fce1546: Support "application/json;charset=utf-8" content types (#15). Thanks, @shinzui!
- 0899e0e: Add minified build (#18)
- 27c149c: Fix data, error sometimes returning undefined
- c818e65: Export BaseParams shared type (#8)
- ce99563: Fix optional requestBody in path
- b69cb51: Autocomplete URLs by path (#2). Thanks, @mitchell-merry!
- 5a47464: Fix module entry
- 55d7013: Encode path params