Deniz Dogan
c94d2b2331
[swift5] Fix missing case for FormDataEncoding#encode ( #11064 )
...
Fixes #11062
2021-12-10 14:08:32 +08:00
Bruno Coelho
c941044701
[swift5][client] allow request cancellation and authentication flow to work together ( #11019 )
...
* [swift5][client] allow request cancellation and authentication flow to work together
* [swift5][client] allow request cancellation and authentication flow to work together
* [swift5][client] rename OpenAPIRequestCancellable to RequestTask
* [swift5][client] rename OpenAPIRequestCancellable to RequestTask
2021-12-09 01:07:49 +08:00
William Cheng
e00efe7c8d
Merge remote-tracking branch 'origin/5.4.x' into 6.0.x
2021-12-07 00:12:13 +08:00
William Cheng
2b7910c875
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-12-06 23:57:07 +08:00
Jarrod Parkes
15f45711a8
add swift5 option for generating frozen enums ( #11013 )
...
* add swift5 option for generating frozen enums
* use case unknownDefault to avoid conflicts
* update comments to reflect unknownDefault case
* set default values for unknown case to avoid conflict
* dont need vendor extensions to detect enum raw data type
* move CaseIterableDefaultsLast into models mustache template
* comment catch all case and add support for other types
* add frozen enums to ci pipeline
* remove extraneous edit to extensions template
* remove left over protocols files
* small comment and case adjustments
2021-12-04 13:05:51 +08:00
Fumito Nakazawa
a24d314006
[swift5] Use enum as parameter instead of raw type ( #10967 )
...
* Fix enum type
* Remove operation_id
* Fix samples
2021-12-01 00:34:15 +08:00
Fumito Nakazawa
a620853216
[swift5] Refactor encodeToJSON ( #10961 )
...
* Add protocol extension method
* execute sample script
* Add Packing.cmake
* Revert "Add Packing.cmake"
This reverts commit cb52547fe34c5d17dd83267daa259b7ee3ddd503.
* Remove empty lines
* Revert FILES
* Add Packing.cmake
2021-11-26 00:55:06 +08:00
Fumito Nakazawa
64a478a93c
[swift5] Remove optional from body ( #10938 )
...
* Unwrap body
* Remove unsupported type from nonDecodableBuilder
* Update samples
* Remove !
* Fix typo
2021-11-23 21:18:56 +08:00
Fumito Nakazawa
faae00df91
[swift5] Refactor some codes ( #10937 )
...
* Use compactMap
* Remove as Any cast
* Remove array
* Update samples
2021-11-23 21:18:42 +08:00
WILLIAM CHENG
eb75515715
Merge branch '5.4.x' into 6.0.x
2021-11-21 09:50:47 +08:00
WILLIAM CHENG
78fe5dc427
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-11-21 09:43:21 +08:00
David Horvath
126e406193
[swift5] Cancellable requests ( #10855 )
...
* Implement cancellation of URLSession requests for Combine & RxSwift
resolve #8658
* Add generated sample code
* Add request cancellation for alamofire library and Result configuration
* Add generated sample code
* Add request cancellation for async await configuration
* Add generated sample code
2021-11-18 21:05:18 +08:00
David Horvath
552a31d85c
[swift5] Reuse URLSessions ( #10790 )
...
* Reuse URLSession with same configuration
resolve #8562
* Add typealias for taskDidReceiveChallenge closure type
* Add generated sample code
2021-11-14 10:33:18 +08:00
WILLIAM CHENG
42f4e863b7
prepare 5.4.0-SNAPSHOT
2021-10-25 12:13:33 +08:00
William Cheng
378465702c
Prepare v5.3.1 in the master ( #10681 )
...
* prepare v5.3.1
* update doc
* update readme
2021-10-25 01:16:07 +08:00
William Cheng
59ddcc31ab
update samples
2021-10-06 12:13:24 +08:00
Wim Van Renterghem
4e029e99ea
Remove type erasure of the Error response, as it is always the same type ( #10460 )
2021-09-25 13:52:50 +08:00
Bruno Coelho
7c133be617
[swift5][client] add support for async await ( #10442 )
...
* [swift5][client] add support for async await
* [swift5][client] disable CI for the async await sample project temporarily
2021-09-23 10:53:57 +08:00