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
Yartsev
75b883c5a5
OkHttpClient - fix enum properties in requests ( #12661 )
...
* OkHttpClient - fix enum properties in requests
* Has been committed the generated code
Co-authored-by: Mikhail Yartsev <mihail.yartsev@lamoda.ru>
2022-06-22 21:29:12 +01:00
Bruno Coelho
fe8187ba6d
[Kotlin][Client] replace java.nio.* to avoid crash on Android API 25 and bellow ( #12529 )
...
* [Kotlin][Client] replace java.nio.* to avoid crash on Android API 25 and bellow
* [Kotlin][Client] update sample projects
* [Kotlin][Client] update sample projects
2022-06-04 16:26:59 +08:00
julienlavigne
4cfc32e426
Kotlin-client: Pass OkHttpClient instance to the base class (ApiClient) ( #12493 )
...
* Pass client to the base clase
* Regen samples
2022-05-30 10:40:58 +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
CodeR
73b0762f36
OkHttpClient - replacing static client usage with client Injection #12444 ( #12448 )
...
Co-authored-by: Grigory Tihonov <grigory.tihonov@lamoda.ru>
2022-05-24 13:51:47 +01:00
Johan Sjöblom
706791f43f
[Bug][Kotlin-client] Can now handle path param of type list ( #12244 )
...
* Bugfix Kotlin-client: Can now handle path param of type list for jvm-volley and multiplatform. Also cleaning up generated code
* Adding samples to github workflow. Deleting old workflow
* Tweaking setup of jvm-volley
* Updating samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2022-05-05 01:04:20 +08:00
Johan Sjöblom
8950a9a3c0
[BUG][Kotlin-client] Handling default values of parameters ( #12255 )
...
* Bugfix Kotlin-client: Handling default values of parameters
* Adding object
2022-04-29 15:26:29 +01:00
Anton Koscejev
7851dfe148
[kotlin][client] fix encoding of individual parts of a multipart request ( #11911 )
...
* [kotlin][client] fix encoding (and Content-Type headers) of individual parts of a multipart request
* [kotlin][client] fix incorrect handling of binary downloads
* [kotlin][client] update samples
2022-04-14 01:52:01 +08: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
00ef435018
[swift5][client] create comment to warn about android api version ( #11830 )
2022-03-09 00:03:02 +08:00
William Cheng
12e03b1937
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-02 15:41:37 +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
eb224db540
[kotlin][client] remove old Date usage ( #11082 )
...
* [kotlin][client] remove old Date usage
* [kotlin][client] remove old Date usage
2021-12-14 16:03:12 +08:00
William Cheng
fbb61658df
[kotlin][client] rename ApiInfrastructureResponse to ApiResponse ( #11094 )
...
* rename ApiInfrastructureResponse to ApiResponse
* mark ApiResponse as reserved word
* update samples, docs
* fix typo
2021-12-12 16:32:08 +08:00
Bruno Coelho
3247903caa
[kotlin][client] update request exceptions ( #11065 )
2021-12-11 21:48:59 +08:00
Guus Bloemsma
0236f84c11
[kotlin-client] Allowing vendor types for json ( #10758 )
...
* Using the first serializable 'consumes' mediaType
Using all deserializable 'produces' mediaTypes
Matching json vendor types as json
* updating the generated samples
2021-12-11 21:48:00 +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
Simon Wegendt
af2ca38ab7
[Kotlin] [OkHttp4] detailed requests ( #10201 )
...
* #10199 : Extract from generated function per operation one that returns headers and other info
* add autogenerated output
* fix suspend generation
* fix return statement generation for coroutine variant
2021-11-16 22:34:26 +08:00
Bruno Coelho
57afa97166
[kotlin][client] add base url key ( #10633 )
...
* [kotlin][client] add base url key
* [kotlin][client] update sample projects
* [kotlin][client] add base url key
2021-11-02 23:32:42 +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
730636ad31
Merge remote-tracking branch 'origin' into 6.0.x
2021-10-19 12:55:59 +08:00
Eric Durand-Tremblay
11bfc66782
Issue #10591 kotlin enum defaultValue ( #10592 )
...
* Issue #10591 kotlin enum defaultValue
* Updated sample
* Register sample
Co-authored-by: Eric Durand-Tremblay <etremblay@kronostechnologies.com>
2021-10-16 13:47:31 +08:00
William Cheng
acd747ca6d
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-22 12:13:44 +08:00
Surya Asriadie
0936b43dfd
[Kotlin] Fix default value for kotlin class ( #10407 )
...
* Fix default value for kotlin class
* fix style: remove trailing line
* fix ktorm schema
2021-09-17 01:12:41 +08:00
Bruno Coelho
0211f7b82e
[kotlin][client] add support for okhttp requests with empty body ( #10369 )
...
* [kotlin][client] add support for okhttp requests with empty body
* [kotlin][client] add support for okhttp requests with empty body
2021-09-14 11:33:06 +08:00
Guus Bloemsma
490c747c2b
[kotlin-client] OkHttp call is now non-blocking ( #10303 )
...
* suspend method is now non-blocking
* added required imports
* generated the samples
* suspend method is now non-blocking
* added required imports
* generated the samples
* Cancelling the call when the coroutine is cancelled
Only use coroutines when requested
Not adding potentially unavailable imports
Co-authored-by: Guus Bloemsma <Guus.Bloemsma@Rabobank.nl>
2021-09-03 11:56:31 +08:00
William Cheng
eaa76f8e1f
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-08-17 18:10:59 +08:00
William Cheng
764a462711
Merge remote-tracking branch 'origin/5.3.x'
2021-08-16 21:38:34 +08:00
William Cheng
8403e59aa0
Prepare 5.2.1 release ( #10161 )
...
* prepare for 5.2.1 release
* update samples
2021-08-16 19:08:29 +08:00
Noor Dawod
e39e4bcd6e
Kotlin client/spacings indentations ( #9853 )
...
* Bump jimschubert/query-tag-action from 1 to 2
Bumps [jimschubert/query-tag-action](https://github.com/jimschubert/query-tag-action ) from 1 to 2.
- [Release notes](https://github.com/jimschubert/query-tag-action/releases )
- [Commits](https://github.com/jimschubert/query-tag-action/compare/v1...v2 )
Signed-off-by: dependabot[bot] <support@github.com>
* Adjust spacings, bring back suppresses to silence IntelliJ IDEs.
* Suppress few warnings since we know we are using them in the code.
* toLowerCase() is deprecated.
* Wrap enum values in backticks to guard against reserved names, bring back encode/decode for each enum.
* Wrap property names in backticks to guard against reserved names.
* Regenerate samples.
* Do not warn about unused imports.
* Regenerate samples.
* Updated petstore code.
* Add missing reserved Kotlin operators and special keywords.
* Revert adding backticks.
* Regenerate pet store shop code.
* Remove unused suppression.
* Use 3 braces to wrap name.
* Regenerate pet store shop code.
* Remove get from reserved words.
* Revert back removal of description.
* Regenerate source code for Petstore.
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 17:38:22 +08:00
Bruno Coelho
8a714f48d3
[Kotlin][Client] improve imports ( #10052 )
2021-07-29 18:02:20 +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
Robin Trietsch
8eba70dd3d
[BUG][Kotlin] Add support for collection of generic classes (Jackson / Gson / Moshi) ( #9918 )
...
* Cherry picked commits from add-support-for-collection-of-generic-classes
* Regenerated samples
* Missing work by @adamsz-lume
* Try to fix maven plugin error
Co-authored-by: Bruno Coelho <4brunu@gmail.com>
2021-07-24 23:04:14 +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
Bruno Coelho
e600f7d149
[kotlin][client] silence deprecation warning ( #9656 )
...
* [kotlin][client] silence deprecated warning when used internally
* [kotlin][client] update sample projects
2021-06-08 23:17:20 +08:00
Bruno Coelho
0f51662650
[kotlin][client] small improvements ( #9640 )
...
* [kotlin][client] standardize adapter type names
* [kotlin][client] remove unused class
* [kotlin][client] fix IDE warning
* [kotlin][client] improve import layout
* [kotlin][client] update sample projects
2021-06-02 11:07:26 +08:00