Input validation is important when developing a REST API. Thankfully Spring Boot has a starter dependency that makes the process straightforward. However if you are using Kotlin, there is pitfall that you need to be careful with. In this video we are going to a simple validation to a Kotlin project and also discuss the root cause of this pitfall.
Link to source code:
https://vladsave.com/?p=191
Link to video where I create the project:
https://youtu.be/hAZ0m7Y3ewI
My business website if you need to hire a freelancer:
https://vladsave.com
Chapters:
00:00 Introduction
00:26 Starter project
01:55 Add gradle dependency
02:41 Add the annotation
05:12 Explaining the root cause in Kotlin
07:50 Other validators
Download
0 formats
No download links available.
REST input validation in a Spring Boot Kotlin project | NatokHD