William Cheng
353320cb04
[kotlin] better oneOf, anyOf support ( #18382 )
...
* add validteJsonElement
* add oneOf support
* various fixes, add tests
* minor fixes
* minor fixes
* update data class
* remove comments
* array support, add test
* update api client constructor
* add anyOf support
* add new files
* fix merge
* update
* update
* update
* update
2024-05-31 12:22:27 +08:00
Tiffany Marrel
da96058f5b
[kotlin] cleanup documentation ( #15307 )
...
* [kotlin] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [kotlin] fix anchor links in documentation
---------
Co-authored-by: Tiffany Marrel <tiffany.marrel@flowable.com>
2023-04-27 11:33:15 +01: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
Nikita Karnaukh
53eff43184
[Kotlin][Client] Fix url path for Retrofit, Fix optionals for @Query @Body, Set List as default collection for Kotlin data class ( #6456 )
...
* Replace typeMapping kotlin.Array with kotlin.collections.List, because its doesn't work with Kotlin Data Classes(required manually implementing hashCode&equals)
Replace typeMapping kotlin.Array<kotlin.Byte> with efficient primitive implementation kotlin.ByteArray
Replace instantiationTypes array to kotlin.collections.ArrayList, for extending Array we should provide element count to its constructor.
* Fixed path(removed slash on begin path) for Jvm Kotlin Retrofit
* Fixed handling optional bodyParams for Jvm Kotlin Retrofit
* Fix kotlin tests
* Fixed code format for detekt inspections #2
* revert formatting
* Added ability to generate optional @Query params.
* Update Kotlin docs.
* Update Kotlin openapi3 client samples
* Update Kotlin client samples
* Update Kotlin openapi3 client samples after merge with master
* Revert hardcoding List instead Array
* Set List as default collectionType
* Update Kotlin samples
* Fixed Kotlin multiplatform api template. fix mapper for Array type.
Fixed Kotlin multiplatform api template Code style.
* Update Kotlin multiplatform sample
* Fix Kotlin multiplatform template code style
* Update Kotlin multiplatform sample
* Fix Kotlin multiplatform converting Array to List in Api.
* Update Kotlin multiplatform sample #3
* Fix Kotlin tests
* Fix Kotlin jackson Application.kt
* Fix Kotlin tests #2
* Fix merge conflict with master
* Generate samples after merge with master
* Generate samples after merge with master #2
* Generate samples after merge with master #3
* Generate samples after merge with master #4
* update kotlin samples
* update all samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-06-16 10:33:34 +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
1c1c1ef9c3
Fix Kotlin default value ( #2513 )
...
* fix kotlin default value
* fix test cases
2019-03-27 14:04:52 +08: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
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
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
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