Join Slack
Powered by
Are there recommended approaches to version an Api...
# ktor
f
Florian
11/27/2025, 11:13 PM
Are there recommended approaches to version an Api? Something like
/api/v1/...
,
/api/v2/...
, but without lot's of duplicate code?
a
Aleksei Tirman [JB]
11/28/2025, 7:36 AM
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:
Aleksei Tirman [JB]
11/28/2025, 7:36 AM
example.kt.cpp
example.kt.cpp
12
Views
Open in Slack
Previous
Next