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
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
Jérémie Bresson
4b6fb504a2
Prepare version 3.1.1-SNAPSHOT ( #487 )
2018-07-07 06:05:19 +02:00
Günther Grill
c1eda61874
Fix some Kotlin formatting issues and make source more Kotlin like ( #427 )
2018-07-03 08:25:48 +02:00
Jeremie Bresson
b887efdc1c
Initial commit for 4.0.0-SNAPSHOT
2018-06-12 06:40:07 +02:00
Jeremie Bresson
c223f28171
Initial commit for 3.1.0-SNAPSHOT
2018-06-12 06:27:26 +02:00
Jérémie Bresson
8ae1c814d5
Prepare 3.0.2-SNAPSHOT ( #285 )
...
Set version `3.0.2-SNAPSHOT`.
Follow up from #280
2018-06-11 13:22:03 -04:00
Jérémie Bresson
1e5e1d4458
Prepare 3.0.1-SNAPSHOT ( #195 )
...
* Restore version to 3.0.0-SNAPSHOT
* Set version to 3.0.1-SNAPSHOT
* Run ensure-up-to-date
* Remove duplicated version declaration
2018-06-02 10:57:33 +08:00
Jérémie Bresson
d35bf1a388
Change default package name value for kotlin client ( #382 )
...
* Move pom.xml to sample.ci
* Regenerate 'kotlin-threetenbp' example
* Add build to gitignore
* Change default value for Kotlin
* Regenerate kotlin-string client
* Regenerate kotlin-threetenbp client
* Regenerate 'samples/client/petstore/kotlin'
2018-05-09 10:32:37 +08:00
Jérémie Bresson
e1c9a924c0
Generate kotlin 'client-string' sample ( #369 )
...
* Move pom to 'samples.ci'
* Regenerate 'samples/client/petstore/kotlin-string'
2018-05-08 16:45:50 +08:00
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
Jeremie Bresson
53597764c3
Add OpenAPI spec 3.0 support (beta)
...
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
Co-authored-by: Jeremie Bresson <dev@jmini.fr>
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
Co-authored-by: Martin Delille <martin@phonations.com>
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2018-04-17 09:19:10 +02:00
William Cheng
c69925b53a
[Kotlin] Fix issues with threetenbp ( #7516 )
...
* fix kotlin threetenbp client
* fix typo in kotlin sample path
2018-01-28 21:40:22 +08:00