Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQ] kotlin multiplatform - support newer kotlin version #5346

Open
shadowsheep1 opened this issue Feb 17, 2020 · 6 comments
Open

[REQ] kotlin multiplatform - support newer kotlin version #5346

shadowsheep1 opened this issue Feb 17, 2020 · 6 comments

Comments

@shadowsheep1
Copy link
Contributor

shadowsheep1 commented Feb 17, 2020

Currently library versions are

  • Platform: Kotlin multiplatform.
  • Kotlin version: 1.3.50
  • HTTP client: Ktor 1.2.4.
  • JSON processing: Kotlinx Serialization: 0.12.0.

It should be nice to address those library versions:

  • Platform: Kotlin multiplatform.
  • Kotlin version: 1.3.61
  • HTTP client: Ktor 1.3.2.
  • JSON processing: Kotlinx Serialization: 0.20.0.
@Alex009
Copy link

Alex009 commented Mar 26, 2020

may be useful - https://github.com/icerockdev/moko-network. it use openapi-generator, but updates with every kotlin version release

@shadowsheep1
Copy link
Contributor Author

@Alex009 Indeed it seems promising! Btw before I can use it I need to make a PR to add support for HttpResponse<Model> (icerockdev/moko-network#3 (comment)) or waiting for this feature to be added.

@Alex009
Copy link

Alex009 commented Mar 26, 2020

good. can you give me more details about your usecase - why required clean HttpResponse?

@shadowsheep1
Copy link
Contributor Author

My main reason is to be able to access my server response custom headers.

saschpe added a commit to saschpe/openapi-generator that referenced this issue Jun 3, 2021
Use Gradle 6.9 and Kotlin 1.4.32. Generate Paths for other HTTP verbs
(OpenAPITools#828) and fix imports (OpenAPITools#5640). Use 'object' when no parameters are
used. Introduce 'featureMetrics' to control metrics plugin usage. Remove
HOCON configuration parsing. This is provided by
`Application.environment.config already` and removes a dependency.

Resolves OpenAPITools#9087, resolves OpenAPITools#828, resolves OpenAPITools#5640
Relates-To OpenAPITools#5346
@837
Copy link
Contributor

837 commented Jun 14, 2021

See #9755

wing328 pushed a commit that referenced this issue Jun 20, 2021
Use Gradle 6.9 and Kotlin 1.4.32. Generate Paths for other HTTP verbs
(#828) and fix imports (#5640). Use 'object' when no parameters are
used. Introduce 'featureMetrics' to control metrics plugin usage. Remove
HOCON configuration parsing. This is provided by
`Application.environment.config already` and removes a dependency.

Resolves #9087, resolves #828, resolves #5640
Relates-To #5346
@tjerkw
Copy link

tjerkw commented Dec 27, 2023

Bumping this open issue, kotlin multiplatform needs to be updated again, to support ktor 2.3 or higher, and kotlin 1.9 or higher

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants