Ktor Series : API Validation using Konform

Vishwas Trivedi
4 min readDec 14, 2023

Here we go… again, another article in the Ktor Series!

Let’s start with the basics first and take a look at the validation library called Konform. Yes, you heard it right, Konform is a validation library which allows you to avoid long if.. else statements to validate your API request body. Many of you might think, here is another new complicated library for validation and you are not wrong but trust me you’ll see what we are talking about & how Konform saves you trouble.

--

--

Vishwas Trivedi

I am an accomplished Software Engineer/ Project Manager with 8.5 years of technical experience in driving successful software development teams.