https://kotlinlang.org logo
#ktor
Title
# ktor
i

Ivan

03/12/2021, 4:28 PM
Hi, is there any way to generate a client sdk from a ktor server automatically?
b

Big Chungus

03/12/2021, 4:30 PM
Not unless you generate both, client and server from OAS
a

Alexander Kurasov

03/13/2021, 2:24 PM
@Big Chungus newbie question - what is OAS?
b

Big Chungus

03/13/2021, 2:26 PM
Open api specification. Formerly known as swagger. google
👍 2
i

Ivan

03/14/2021, 3:33 PM
@Big Chungus do you have any experience with ktor and swagger? On github I found two libraries for swagger automatic generation but one is on beta and the other one is not maintained.
b

Big Chungus

03/14/2021, 4:42 PM
kror.io can accept your swagger yaml and generate a server for you