William Cheng
6cae0fbb78
Merge remote-tracking branch 'origin/6.1.x'
2022-07-04 01:22:51 +08:00
William Cheng
9e412edb64
Prepare 6.0.1 release ( #12762 )
...
* update to v6.0.1
* update doc
* update samples
2022-07-03 23:36:46 +08:00
Paul-Etienne François
ec6c4a4b6c
[Feature] Handle optional operation responses ( #12342 )
2022-06-05 19:55:03 +01:00
William Cheng
5bd94b8fa0
prepare 6.1.x
2022-05-26 12:58:25 +08:00
William Cheng
36a9cf394d
update samples ( #12466 )
2022-05-26 12:13:59 +08:00
William Cheng
69f79fb789
Prepare 6.0.0 release ( #12463 )
...
* prepare 6.0.0 release
* update samples
* update meta codegen
2022-05-26 10:28:01 +08:00
leszek-s
5f1f47d156
[swift5] Abstract away URLSession ( #11651 ) ( #12110 )
2022-04-19 10:53:16 +01:00
William Cheng
2d4a01aa70
Revert "Prepare 6.0.0 beta release ( #12039 )"
...
This reverts commit 914b539eea7097ad2b4323d20c8f95144782cb68.
2022-04-04 12:17:12 +08:00
William Cheng
914b539eea
Prepare 6.0.0 beta release ( #12039 )
...
* update to 6.0.0-beta
* update samples
2022-04-04 10:29:49 +08:00
Bruno Coelho
266cd5de0d
[swift5][client] remove apiResponseQueue in the clients that don't have any impact ( #11698 )
2022-02-24 01:37:33 +08:00
Bruno Coelho
441c069177
[Swift5][client] try to fix JsonEncondable ( #11541 )
2022-02-09 08:50:16 +00:00
William Cheng
c8b84c4d03
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-30 18:01:35 +08:00
Akira MATSUDA
febf49662a
Make moduleObject.mustache confirms to JSONEncodable. ( #11202 )
...
* Make moduleObject.mustache confirms to JSONEncodable.
* Regenerate samples
* Don't confirm JSONEncodable when using Vapor.
* Use CodableHelper.jsonEncoder
* Encode `Data` using `encodeToJSON()`
* Update sample
* Don't extend JSONEncodable when using Vapor.
* Add JSONEncodable in moduleEnum, moduleInlineEnumDeclaration, and modelOneOf
* Update sample
* Remove line break.
* Update sample
* Revert "Update sample"
This reverts commit 6ec206b506a5402a225184bd8e80f5e654f426f8.
* Don't confirm JSONEncodable when enum confirms RawRepresentable.
* Update sample
* Add space before {
* Update sample
* Don't confirm JSONEncodable when enum confirms RawRepresentable.
2022-01-09 23:47:03 +08:00
William Cheng
12e03b1937
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-02 15:41:37 +08:00
Jarrod Parkes
9c3cba9b86
[swift5] Add property x-null-encodable
extension for full control over encoding value/nil or nothing ( #11141 )
...
* feat(ISSUE-11033): add null encodable type and mustache changes
* feat(ISSUE-11033): regen all swift5 samples
* feat(ISSUE-11033): add swift5 examples of null encodable
* feat(ISSUE-11033): fix hashable and compliation issues
* fix(ISSUE-11033): fix tests by using new enum encodeValue
* fix(ISSUE-11033): fix tests by using new enum encodeValue
* fix(ISSUE-11033): revert status back in pet api test
* fix(ISSUE-11033): fix issue with objc compat generator
* feat(ISSUE-11033): restore default values to null encodables
* chore(ISSUE-11033): rename default value for null encodable
* chore(ISSUE-11033): add test cases with different nullable defaults
2022-01-02 14:51:15 +08:00
Justin Black
ac55ac9d55
Samples and docs regenerated ( #11194 )
2021-12-28 11:39:13 -08:00
William Cheng
6269a9810c
Prepare 5.3.1 release ( #11161 )
...
* prepare v5.3.1 release
* update samples
2021-12-21 18:20:13 +08:00
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
0bfa28f844
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-10-06 12:00:02 +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
William Cheng
acd747ca6d
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-22 12:13:44 +08:00
Bruno Coelho
27727acf52
[swift5][client] Fix issue 9953 ( #10387 )
...
* [swift5][client] Fix issue 9953
* [swift5][client] update docs
2021-09-14 11:39:32 +08:00
Bruno Coelho
2732c45cc1
[swift5][client] code formatting and dependencies ordering ( #10370 )
2021-09-13 20:00:20 +08:00
William Cheng
477e2365c7
improve git_push.sh ( #10356 )
2021-09-09 12:49:03 +08:00
William Cheng
0357b80f19
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-01 14:16:17 +08:00
Nathan Baulch
5d68bd6a03
Fix thousands of spelling typos ( #10272 )
2021-08-28 22:58:24 +08:00
William Cheng
0204bf4ae2
Squashed commit of the following:
...
commit c5a0d0f7394aa742fa336fff7e7c1d3049761868
Merge: 8c4991ba3ed f8ff8c87609
Author: William Cheng <wing328hk@gmail.com>
Date: Tue Aug 17 18:28:12 2021 +0800
Merge branch 'mustache-linting' of https://github.com/NathanBaulch/openapi-generator into NathanBaulch-mustache-linting
commit f8ff8c87609b1ca36fa26fb8474806999638195e
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:12:47 2021 +1000
Reorder tags that handle missing values
commit f5d8a33709d6a3f846a9fe4520b78c3d637051d9
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:08:59 2021 +1000
Use dot notation where possible
commit 493d14921e2333f3ae19ef6fc89318b7e263a80c
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 14:10:49 2021 +1000
Remove empty tags
commit 32480dc53f48227d55531b94e307d72671373737
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Thu Aug 5 10:41:58 2021 +1000
Remove redundant sections
commit a8edabd722c34aa094b4aeb11c22664529c3a219
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 22:02:22 2021 +1000
Trim extra EOF new lines
commit e89bd7458e3594bf0d30e580bc9408e45b018a57
Author: Nathan Baulch <nathan.baulch@gmail.com>
Date: Wed Aug 4 21:59:26 2021 +1000
Trim trailing whitespace
2021-08-17 18:37:51 +08:00
William Cheng
b799ca9ee0
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
2021-07-27 11:52:19 +08:00
William Cheng
56aafe30d9
Merge remote-tracking branch 'origin/master' into 5.3.x
2021-07-27 11:33:35 +08:00
Christopher Gretzki
d23915a7b4
[swift5 client] fix filename for binary downloads ( #9989 )
...
* fix-filename-from-header-response-retrieval: fix early exit of iteration
before a match could be found
* fix-filename-from-header-response-retrieval: fixed same bug for alamofire usage too
* fix-filename-from-header-response-retrieval: build project and update samples
Co-authored-by: Christopher Gretzki <gretzki@adesso-mobile.de>
2021-07-21 12:37:48 +08:00
William Cheng
05e4c3cf64
update samples
2021-07-12 17:15:22 +08:00
William Cheng
35f933b27f
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
2021-07-12 17:11:35 +08:00
William Cheng
39fbf53150
create v5.3.0
2021-07-10 00:12:23 +08:00
William Cheng
02835b35bc
Prepare v5.2.1 ( #9922 )
...
* bump verions to 5.2.1-SNAPSHOT
* update samples
* update readme
* fix gradle properties
2021-07-09 22:42:31 +08:00
William Cheng
90f7bcd909
Prepare v5.2.0 release ( #9920 )
...
* 5.2.0 release
* update samples
* update meta codegen
2021-07-09 17:06:55 +08:00