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
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
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
William Cheng
c8b84c4d03
Merge remote-tracking branch 'origin/master' into 6.0.x
2022-01-30 18:01:35 +08:00
Ashutosh Gangwar
1bfed460c5
Fix missing ApiKeyAuth import in 'jvm-retrofit2' Kotlin client template ( #11286 )
...
* fix incorrect ApiKeyAuth import in jvm-retrofit2 kotlin-client template
links to
- https://github.com/OpenAPITools/openapi-generator/issues/10008
- https://github.com/OpenAPITools/openapi-generator/pull/10708
* update kotlin-retrofit2 samples
2022-01-12 19:22:24 +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
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
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
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
William Cheng
0357b80f19
Merge remote-tracking branch 'origin/master' into 6.0.x
2021-09-01 14:16:17 +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
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
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
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
Bruno Coelho
463ae10c4a
[kotlin][client] update dependencies ( #9629 )
...
* [kotlin][client] update dependencies
* [kotlin][client] update sample projects
* [kotlin][client] fix update dependencies
2021-06-01 10:09:48 +08:00
Sascha Peilicke
173a349e04
Kotlin: Fix kotlinx_serialization code generation ( #9576 )
...
And update to Kotlin 1.5.0 and kotlinx.serialization 1.2.1. Fix nested
enum annotation '@Serializable' instead of '@KSerializable' when
'kotlinx_serialization' is used. Fix missing JsonMediaType in
ApiClient.kt (#9242 ). Add 'kotlinx_serialization' serialization library
to documentation. Use explicity type in RequestConfig to keep type
information for JSON serialization.
Resolves #9242
2021-05-31 21:48:39 +08:00
Stefan Hanselmann
1b6fd2dd7a
[Kotlin][retrofit2] replace okhttpclient with callfactory ( #9451 )
...
* [Kotlin][Retrofit][#9448 ] Replace OkHttpClient parameter with Call.Factory.
* [Kotlin][Retrofit][#9448 ] Update sample project.
2021-05-28 21:50:28 +08:00
Stefan Hanselmann
d1b8a3fac4
[Kotlin] [ #8809 ] Allow optional header parameters with Kotlin and ret… ( #9306 )
...
* [Kotlin] [#8809 ] Allow optional header parameters with Kotlin and retrofit2
* [Kotlin] [#8809 ] Update sample client
* [Kotlin] [#8809 ] Replace mustache dot notation with more classic style
* [Kotlin] [#8809 ] Remove new line at the end of the mustache template
2021-05-20 23:07:04 +08:00
Kazuki Chigita
1ff436a86a
[REQ] [kotlin-client] Add uriAdapter for moshiBuilder ( #9494 )
...
* Apply UriAdapter to moshiBuilder
* Add UriAdapter for supportingFiles
* Fix test
* Apply ./bin/generate-samples.sh
2021-05-20 23:05:22 +08:00
William Cheng
3e58b0908c
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-04-28 18:08:24 +08:00
William Cheng
37eaf70755
Merge remote-tracking branch 'origin/master' into 5.2.x
2021-04-28 17:48:21 +08:00
Stefan Hanselmann
22950fa2b2
[Kotlin][ #9313 ] Generator should support optional form parameter ( #9314 )
...
* [Kotlin][#9313 ] Make form params optional in Kotlin retrofit2 template.
* [Kotlin][#9313 ] Update sample files.
* [Kotlin] [#9313 ] Remove new line at the end of the mustache template
2021-04-23 12:30:58 +08:00
Stefan Hanselmann
5468b22b83
[Kotlin][ #7925 ] Make ApiClient in jvm-retrofit2 be able to add additional retrofit Converter.Factory ( #9316 )
...
* [Kotlin][#7925 ] Add an optional Converter.Factory to the Kotlin retrofit2 ApiClient template.
* [Kotlin][#7925 ] Update sample project.
2021-04-22 19:07:55 +08:00
Cody Mikol
b5dac42959
feat(adapter): add BigDecimal kotlin support ( #8880 )
...
* feat(adapter): add BigDecimal kotlin support
this allows the kotlin client generator to support
BigDecimal values
Fixes #7196
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-04-16 22:24:10 +08:00
Stieglitz
6dce8179de
[Kotlin] Fix (de)serialization of enum classes (kotlinx serialization) ( #9143 )
...
* fix kotlin enum serialization
* fix kotlin serialization compiler warning
* change samples
2021-04-16 10:46:51 +08:00
William Cheng
95d356ab6b
Merge remote-tracking branch 'origin/5.2.x' into 6.0.x
2021-03-21 01:10:46 +08:00
William Cheng
47483e60cb
update version to 5.2.0-SNAPSHOT, update samples
2021-03-21 00:10:10 +08:00
William Cheng
0dc62e8b79
Prepare v5.1.1 in the master ( #9027 )
...
* Prepare v5.1.1 in the master
* move dart dio next to configs/other
2021-03-20 23:05:11 +08:00
William Cheng
e023eaa821
Prepare v5.1.0 release ( #9017 )
...
* prepare v5.1.0 release
* update samples (dart-dio-next)
2021-03-20 16:45:05 +08:00