nielsfalk / ktor-swagger

Apache License 2.0
133 stars 38 forks source link

Not compatible with Ktor 1.3.* #49

Closed jiaoling closed 4 years ago

jiaoling commented 4 years ago

Hi,

i was working on a project with ktor 1.3.1, and would love to try out this swagger library, but i am getting this runtime error as below:

java.lang.NoSuchMethodError: io.ktor.client.call.TypeInfo.<init>(Lkotlin/reflect/KClass;Ljava/lang/reflect/Type;)V

the reason seems to be that since the Ktor migration to 1.3.0, it has a breaking change: No binary compatibility with 1.2.x. (See: https://ktor.io/quickstart/migration/1.3.0.html), so is it possible for you to recompile the project to the current Ktor version? Thanks!

JLLeitschuh commented 4 years ago

I welcome PRs to update the project. Unfortunately, I'm mostly in a 'I'll merge it if you submit it and write tests for it' stance currently.

jiaoling commented 4 years ago

Hi, thanks for your reply, i just created a pull request to update the versions.