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 |
|
Nikita Karnaukh
|
d657e95021
|
[Kotlin][Client] Added Kotlinx Serialization for JVM/Retrofit2/OkHttp3&4 (#6916)
* Added supporting kotlin.serialization for jvm
* Added Serializable annotations for java types(date,time,url,uri etc.)
* Added SafeEnumSerializer
* Added StringBuilderAdapter for kotlin.serialization
Fix adapter naming
Fix Retrofit ApiClient.kt for kotlin.serialization
* Added StringBuilderAdapter for kotlin.serialization
* Switch sample to retrofit2-kotlin-serialization
* Add sample for retrofit2-kotlin.serialization
* update sample
* update sample
* update sample #3
* Fix enum quotes for kotlin.serialization
* update samples
* update pom.xml
* add pom.xml to child module
* fix kotlin-multiplatform freeCompilerArgs
* refactoring, add useSafeEnum option, remove safeEnum for kotlin.multiplatform
* update kotlin samples
* fix import kotlinx.serialization.Required
* Update kotlinx.serialization 1.0.0-rc-2, kotlin 1.4.10, retrofit-kotlinx-converter 0.7.0
* Update gradle wrapper 6.7-rc-3
* fix SafeEnum import
* fix Json initialization,
fix SafeEnumSerializer
* update samples
* update kotlinx.serialization to 1.0.0
* Update gradle to 6.7 in kotlin samples
* fixed adding @Contextual for collections with non-primitive type elements
* remove unused SafeEnum imports, refactored
* update kotlin readme
* update kotlin project template Readme.md
* update samples for kotlin
* simplify template for class properties
* remove @Contextual from kotlin-multiplatform
* update kotlin multiplatform dependencies
* refactoring templates
* revert all changes for multiplatform
* fix tests
* revert multiplatform #2
* update samples after merge, fix missed isListContainer->isArray
* fixed redundant space before @Contextual
* Fixed enum template, Class were missed in generated samples
* fix enum template toString value->serialName
* fixed isEnum case for collections
* update samples
* removed useSafeEnum option, kotlinx serialization has out of box approach with coerceInputValues option for same behavior
* generate samples
* update kotlinx.serialization 1.0.1
* update samples
* Added pom.mustache template for kotlin-client samples with fixed execution of gradle wrapper instead standalone installed gradle on CI
* update samples with new pom.xml
* reverted enum value property name
* fixed kotlin-multiplatform pom.xml
* update kotlin-threetenbp sample
* update kotlin-string sample
* update kotlin-string sample
* fix adding kotlinx.serialization classpath to build.gradle
* generate samples
* add supporting kotlinx_serialization kotlinx.serialization.Serializable with java.io.Serializable at the same time
* update retrofit2-kotlinx-serialization-converter:0.8.0
* update kotlinx_serialization sample with retrofit2-kotlinx-serialization-converter:0.8.0
* apply suggest from @blendthink
* added proguard-rules.pro file for kotlinx.serialization on Android projects
* fix pom.mustache
* update gradle wrapper to 6.8.3
* update kotlin samples
* fix kotlin readme template, update kotlin samples
* update kotlin samples
* update kotlin sample
delete petstore/kotlin unit tests
* revert deletion kotlin client tests
remove adding pom.xml to kotlin client samples
* add support kotlinx serialization for okhttp3/4
* update kotlin client samples
|
2021-03-19 18:12:23 +08:00 |
|