Are there recommended approaches to version an Api...
# ktor
f
Are there recommended approaches to version an Api? Something like
/api/v1/...
,
/api/v2/...
, but without lot's of duplicate code?
a
If you need to retain some routes in the next versions, you can copy the child routes, but not without a hack, though. Here is an example:
example.kt.cpp