Skip to content

[Kotlin Multiplatform] Update and fixes for Kotlin 1.5.10 and Kotlinx.serialization 1.2.1#9862

Closed
837 wants to merge 4 commits intoOpenAPITools:masterfrom
837:refactor/update-kotlin-multiplatform
Closed

[Kotlin Multiplatform] Update and fixes for Kotlin 1.5.10 and Kotlinx.serialization 1.2.1#9862
837 wants to merge 4 commits intoOpenAPITools:masterfrom
837:refactor/update-kotlin-multiplatform

Conversation

@837
Copy link
Copy Markdown
Contributor

@837 837 commented Jun 29, 2021

  • Update Kotlin Multiplatform with Kotlin 1.5.10, Ktor 1.6.0 and Kotlinx.serialization 1.2.1
  • remove @serializable from interfaces
  • Use CharArray.concatToString() instead of 'String(CharArray): String' as it is an error now
  • Fix, RequestConfig needs a type to infer type variable T

Fixes from @DevSrSouzaern #9232
Seemed not to be updated anymore.

  • Fix private keyword not being handle as a reservedWords
  • Fix enum serialization generation
  • Migrate gradle build to Kotlin DSL

PR checklist

  • Read the contribution guidelines.
  • Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
  • Run the following to build the project and update samples:
    ./mvnw clean package 
    ./bin/generate-samples.sh
    ./bin/utils/export_docs_generators.sh
    
    Commit all changed files.
    This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
    These must match the expectations made by your contribution.
    You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/java*.
    For Windows users, please run the script in Git BASH.
  • File the PR against the correct branch: master, 5.1.x, 6.0.x
  • If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.
    @jimschubert , @dr4ke616, @karismann, @Zomzog, @andrewemery, @4brunu, @yutaka0m

DevSrSouza and others added 4 commits June 13, 2021 17:16
…x.serialization 1.2.1

* remove @serializable from interfaces
* Using 'String(CharArray): String' is an error. Use CharArray.concatToString() instead
* Fix, RequestConfig needs a type to infer type variable T

Fixes from @DevSrSouzaern
* Fix `private` keyword not being handle as a reservedWords
* Fix enum serialization generation
* Migrate gradle build to Kotlin DSL
* sample update
* revert non multiplatform kotlinx_serialization removal
* default Json{} in ApiClient
* revert accidental version push for jvm client
* Match ktor and Kotlinx Serialization version in documentation and build.gradle.kts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants