Bruno Coelho
1e66f2fbc9
[swift][client] fix xcode warning ( #13647 )
...
* [swift][client] fix xcode warning
* [swift][client] fix xcode warning
2022-10-11 11:08:15 +01:00
Jonas Reichert
6f3c0a8b5b
[swift5] fix generation of multiple security definitions ( #13617 )
...
* uses correct variable to check for security definitions
* update samples
2022-10-07 16:01:35 +01:00
Christian Fruth
8b10dc3830
[swift5] fixes a bug encoding/decoding decimal ( #13589 )
...
* [swift5] fixes bug #13410
* Fixed indentation, added missing generated samples
2022-10-05 13:31:36 +01:00
Jonas Reichert
4beee6c8c4
[swift5] adds configuration of response success ranges ( #13598 )
...
* add successfulCodeRange to configuration
* generate samples
2022-10-05 13:30:33 +01:00
Jonas Reichert
00604aff59
[swift5] [alamofire] adds ability to inject custom response serializers ( #13542 )
...
* adjust templates to allow injecting ResponseSerializers
* generate samples
* swift < 5.5 compatibility
2022-09-28 17:34:17 +01:00
Jonas Reichert
22086e4f3c
[swift5] support both date and date-time formats ( #13520 )
...
* add withoutTime formatter
* add DateWithoutTime
wip
* fix CI
# Conflicts:
# samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/DateWithoutTime.swift
* implement flag and adjust tests
* generate samples and docs
* docs
* update samples
* remove samples of legacy python generator
* Revert "remove samples of legacy python generator"
This reverts commit 28da78f99dcaa6cf761367b0a2d2c3fddf4803ec.
* review remarks
* generate samples
* fix
* review remarks
* remove samples
* generate swift 5 samples
* generate csharp examples
* docs
* Revert "generate csharp examples"
This reverts commit d1deb17dbcd04b9b00d9ad4a08ce55bedd960de8.
* Revert "generate swift 5 samples"
This reverts commit 968e859bfe3ce631f174d10f10983ed2f5c09486.
* Revert "remove samples"
This reverts commit a43d21529ba6a9e615671729d970ec7ef9662402.
* manually remove FILES
* regenerate files
* reviewers remarks
* delete all date without times
* update config of alamofireLib to use new attribute and generate samples again
* docs
2022-09-26 17:39:35 +01:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
Julian Kalinowski
7ff47dc0bf
[swift5]: support arrays in multipart/form-data ( #13383 )
...
* [swift5]: support arrays in multipart/form-data
* update samples
2022-09-13 11:39:03 +01:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
Jonas Reichert
fea42b547e
[swift5] distinguish (un-)authenticated requests ( #13321 )
...
* add isRequestAuthenticated to request builder
* update samples
* improve samples
2022-09-01 09:18:22 +01:00
Jonas Reichert
7af9f9c7e7
[swift5] explode query params only if necessary ( #13202 )
...
* propagate explode option to mapValuesToQueryItems
* regenerate swift5 samples
2022-08-31 20:50:25 +08:00
Julian Kalinowski
2c0d886a1d
[swift]: support uuid in FormDataEncoding ( #13228 )
2022-08-29 18:43:47 +08:00
William Cheng
bc98014146
Add auto-generated .swiftformat to Swift clients ( #13002 )
...
* add .swfitformat to swift client
* minor format change
2022-07-26 11:21:53 +08:00
Bruno Coelho
c03cf178c9
[swift][client] reduce unnecessary public api ( #12975 )
...
* [swift][client] reduce unnecessary public api
* [swift][client] reduce unnecessary public api
2022-07-23 08:39:34 +08:00
Bruno Coelho
1a5b5924ed
[Swift][client] update samples ( #12923 )
2022-07-19 14:03:12 +01:00
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
8e68ff71c4
[swift5][client] fix non public visibility modifier for NullEncodable ( #11903 )
...
* [swift5][client] fix non public visibility modifier for NullEncodable
* [swift5][client] fix non public visibility modifier for NullEncodable
2022-03-18 09:58:52 +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
William Cheng
df05e6f4bc
Update parser to 2.0.29 ( #11388 )
...
* update parser to 2.0.29
* better handling of null in dereferencing
* update parser to 2.0.30
* update core to newer version
* add new files
* rollback to previous stable version
* remove files
* Fixes for python-experimental NullableShape component
Co-authored-by: Justin Black <justin.a.black@gmail.com>
2022-02-21 18:37:52 +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
Bruno Coelho
c305c71715
[DefaultCodegen] generate unknown default case ( #11078 )
...
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] replace Swift custom implementation with the DefaultCodegen implementation
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] update docs
* [DefaultCodegen] fix Swift enum case name
* [DefaultCodegen] generate unknown default case
* [DefaultCodegen] generate unknown default case
2021-12-21 15:40:13 +08:00
Bruno Coelho
42d635b463
[swift5][client] improve code formatting ( #11124 )
...
* [swift][client] improve code formatting with multiple response as
* [kotlin][vertx] update sample project
2021-12-17 10:19:41 +08:00
Bruno Coelho
5416e92d19
[swift5][client] add support for async/await in iOS 13 and above ( #11109 )
2021-12-14 15:58:19 +08:00
Deniz Dogan
c94d2b2331
[swift5] Fix missing case for FormDataEncoding#encode ( #11064 )
...
Fixes #11062
2021-12-10 14:08:32 +08:00
Justin Black
347b75a024
Fixes paramName and dataType for request body anyType parameters ( #11075 )
...
* Adds request body of any type
* Fixes param dataType, paramName, and baseName
* Uses updateRequestBodyForPrimitiveType as the else case for anyType request bodies like the code used to do
* Samples updated
* Samples regenerated
2021-12-08 13:03:08 -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
0eec937845
update samples
2021-12-07 00:28:43 +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
676da0e778
update samples
2021-12-07 00:11:40 +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
Deniz Dogan
56e7f811bc
Add Hashable to oneOf enums ( #10971 )
...
Fixes #10970
2021-12-01 14:49:00 +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