William Cheng
d4500b307f
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-10-04 15:02:58 +08:00
Jan
baa53cbf57
[kotlin-client][kotlin-server] feature: allow creation of kotlin data classes that implement java.io.Serializable ( #3997 )
...
* feat: allow creation of kotlin data classes that implement java.io.Serializable, by adding the config option serializableModel=(true|false)
* docs: add markdown docu for new configOption serializableModel
* fix: do not use parcelize in script
* update kotlin samples
* add the option, update the doc
2019-10-02 00:13:00 +08:00
William Cheng
3019b5a5e1
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-09-22 14:18:07 +08:00
Andrew Emery
21e0e0d5d5
Kotlin multiplatform client ( #3900 )
...
* Includes Kotlin multiplatform client
Kotlin multiplatform allows Kotlin code to be shared across various target platforms.
This implementation generates Swagger clients for JVM and iOS platforms.
* Includes Kotlin Multiplatform sample scripts
* Updates existing Kotlin samples
* Includes Kotlin Multiplatform samples
* Fixes incorrect Windows sample resource location
* Updates Kotlin client documentation
* Removes unnecessary workaround to remove duplicate entries
* Includes additional multiplatform type and import mappings
* Fixes Kotlin client definitions with multiple enums
https://github.com/OpenAPITools/openapi-generator/issues/3917
* Updates Kotlin samples
2019-09-21 21:48:41 +08:00
William Cheng
ea029b4029
update doc, samples ( #3875 )
2019-09-11 21:17:11 +08:00
William Cheng
3ebefccfa9
Prepare v4.1.2 release ( #3873 )
...
* update samples
* update date
2019-09-11 18:33:27 +08:00
prisoneroftech
8f7e43b500
[Kotlin][client] Support gson and moshi as serialization libraries ( #3734 )
2019-08-29 05:37:13 +02:00
William Cheng
9182784955
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-08-28 14:01:20 +08:00
William Cheng
d0d545bbdd
Prepare 4.1.2 snapshot ( #3758 )
...
* update pom
* update samples
* update ts axios samples
2019-08-26 22:13:12 +08:00
William Cheng
0beb8caa85
reenable kotlin client tests in shippable ci ( #3751 )
2019-08-25 00:53:11 +08:00
William Cheng
14a39349d5
update kotlin client sample
2019-08-22 21:43:06 +08:00
Jim Schubert
b936d72dfa
[kotlin] Change Kotlin client exceptions to expose lack of support as UnsupportedOperationException rather than NotImplementedException. ( #3611 )
...
* [kotlin] Throw catchable exceptions rather than TODO()
* [kotlin] Regenerate samples
2019-08-13 08:38:00 -04:00
Andrey
07381e7275
Fix kotlin templates ( #3504 )
...
* Fix kotlin templates to use okhttp 4.0.1.
* Fix escaping of dataType field.
* Fix handling of arrays/lists of enums.
2019-08-11 09:35:57 -04:00
William Cheng
01222268e8
update samples
2019-08-11 18:56:47 +08:00
William Cheng
5956569e7a
Prepare 4.1.1-SNAPSHOT ( #3603 )
...
* update pom
* update samples
* update pom
2019-08-10 09:41:08 +08:00
wing328
7534df4520
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-26 16:01:23 +08:00
William Cheng
8e11fd9fe4
Prepare 4.0.3-SNAPSHOT ( #3185 )
...
* update version to 4.0.3-SNAPSHOT
* update readme
* update gradle, maven plugin
* update release schedule
* update samples
2019-06-20 18:50:49 +08:00
sylvainmoindron
7916f2f880
[kotlin-spring] add reactive behavior via Kotlin coroutines ( #2934 )
...
* kotlin spring : add reactivity via kotlin's coroutines
* add kotlin spring boot reactive samples
* bug : fix spring version and import for coroutines
* remove exception handler for reactive (webflux doesn't support it)
* add spring milestone repository to maven pom
* add reactive type for list in Api and ApiImpl methodes for mathching body responsive parameter
* fix baseType for ArraySchema
* regenerate samples
* updating documentation
2019-06-02 15:50:45 -04:00
William Cheng
7e457f7e41
sync master
2019-06-03 00:32:13 +08:00
William Cheng
8d3a1a5add
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-03 00:06:43 +08:00
Jérémie Bresson
dc81574f2b
Update version to 4.0.2-SNAPSHOT ( #3047 )
...
* Update version to 4.0.2-SNAPSHOT
* Update samples
* Change AppVeyor script (test of gradle sample)
* Fix release version bump script (gradle plugin, sample poms)
* Include sonatype snapshots in maven examples which reference 4.0.2-SNAPSHOT
2019-06-01 21:32:44 -04:00
Vincent Devos
d748312818
[KOTLIN client] fix Moshi (Serializer/Deserializer) duplicated ( #3013 )
2019-05-28 15:15:06 +08:00
Vincent Devos
c4bf6588aa
[Kotlin client] Improve JSON parser ( #2981 )
...
* [Kotlin client] Improve JSON parser
* fix import in model for threetenbp date
2019-05-24 17:11:26 -04:00
kroegerama
213c015c95
improve Kotlin code quality ( #2988 )
...
* improve Kotlin code quality
* regenerate kotlin samples
2019-05-25 00:18:25 +08:00
Keiju Matsumoto
1e06d7fe88
[Kotlin] Fix parse error when using custom field names with @Json ( #2944 )
...
* Fix to use isEmpty method
* Add KotlinJsonAdapterFactory to moshi adapter
* Update petstore sample
2019-05-22 20:58:38 +09:00
William Cheng
24187b8186
update petstore samples
2019-05-15 00:10:03 +08:00
William Cheng
cbe39ba881
Set version to 4.0.1-SNAPSHOT ( #2882 )
2019-05-14 10:28:32 +02:00
William Cheng
dc0c24b955
Minor wording change ( #2875 )
...
* better wording for version of openapi doc
* update petstore samples
2019-05-13 15:59:59 +08:00
Vincent Devos
ef26ce68d4
[Kotlin] client improvement / remove WildCards in client/server ( #2862 )
2019-05-11 11:42:11 +08:00
William Cheng
1c1c1ef9c3
Fix Kotlin default value ( #2513 )
...
* fix kotlin default value
* fix test cases
2019-03-27 14:04:52 +08:00
Mathieu Lemoine
81c57eefd5
[BUG][Kotlin Client] API using case other than camelCase not generated properly ( #2391 )
...
* Add Json import for all data classes
* Add `@Json` annotation for data class required variables
* Add `@json` annotation for data class optional variables
* Update samples code (petstore, strings, threetenbp)
* Fix annotation to match Kotlin coding style
2019-03-27 09:59:39 +08:00
Vincent Devos
e3716262e5
[Kotlin client]fix warning when else all covered ( #2470 )
2019-03-22 14:40:14 +08:00
Vincent Devos
37c275b3fb
[KOTLIN Client] Update to latest kotlin version ( #2375 )
...
* [KOTLIN Client] Update to latest kotlin version
gradle - okhttp3 - kotlintest version update
add some test case in sample
* [KOTLIN Client] Update to latest kotlin version
gradle - okhttp3 - kotlintest version update
add some test case in sample
2019-03-20 18:26:00 +08:00
Keiju Matsumoto
8df619ef8a
[Kotlin] Add optional parameters to the method of api ( #2432 )
...
* Add optional parameters to api
* Update petstore samples
* Remove default arguments
2019-03-20 11:04:47 +08:00
William Cheng
a440396485
update kotline samples
2019-02-18 22:27:04 +08:00
Akihito Nakano
6a4f3385d8
Fix type inference error ( #1773 )
...
* Fix type inference error
* Update samples
bin/openapi3/kotlin-client-petstore.sh
bin/kotlin-client-petstore.sh
* Update samples
2018-12-29 12:14:34 -05:00
Akihito Nakano
5d98fc6beb
Fix UUID support ( #1746 )
...
* Add custom type adapter to deserialize UUID
* Update samples
./bin/kotlin-client-threetenbp.sh
./bin/kotlin-client-string.sh
./bin/kotlin-client-petstore.sh
2018-12-27 08:59:57 +09:00
Jérémie Bresson
a7dfc650b6
Swagger parser update: 2.0.8-OpenAPITools.org-1 ( #1721 )
...
* Update Swagger-Parser Version
* Update samples
* surpress javadoc warning
* fix TS tests
* Set version to 2.0.8-OpenAPITools.org-1
2018-12-22 18:12:08 +08:00
William Cheng
9e3c7781bb
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2018-10-16 16:08:11 +08:00
William Cheng
257a97b6cd
update petstore samples
2018-10-16 13:19:40 +08:00
William Cheng
ffd72767af
Prepare 3.3.2 snapshot version ( #1249 )
...
* release_version_update
* update readme
* restore felix version
* update petstore samples
2018-10-16 10:53:12 +08:00
William Cheng
999f472e4b
Refactor default and example values in Java generators ( #1045 )
...
* fix default, example for java okhttp
* update java feign samples
* update samples, doc
* add new doc for dart-jaguar
* update model template
* update jaxrs spec model
* update resteasy sample
* update java samples
2018-10-07 03:56:16 +08:00
William Cheng
5490bb8e9c
update petstore
2018-10-03 18:36:12 +08:00
William Cheng
4e8844273b
Prepare 3.3.1-SNAPSHOT ( #1154 )
...
* update version
* update petstore samples
2018-10-02 09:40:27 +08:00
William Cheng
704c1b8893
update petstore samples
2018-08-23 18:52:34 +08:00
William Cheng
3d06900e68
Prepare 3.2.3-SNAPSHOT version ( #870 )
2018-08-22 13:39:20 +02:00
Jérémie Bresson
79b993e6d5
Prepare version 3.2.2-SNAPSHOT ( #810 )
2018-08-14 13:38:18 +02:00
William Cheng
90a8b81728
Prepare 3.2.1-SNAPSHOT release ( #748 )
...
* prepare 3.2.1 SNAPSHOT release
* update doc to use 3.2.0 stable version
2018-08-07 01:31:37 +08:00
Jeremie Bresson
7f4fc4de93
Merge remote-tracking branch 'origin/3.2.x' into 4.0.x
2018-07-07 15:29:36 +02:00
Jeremie Bresson
23c04e2e66
Prepare version 3.2.0-SNAPSHOT
2018-07-07 06:14:58 +02:00