Hibernate Validator

Learn how to validate endpoints to avoid having problems when manipulating data.

Introduction

When working on a REST endpoint, we’re expected to handle different inputs of various types. This could be a problem if the client consuming our API sends the wrong data. In this lesson, we’ll learn how to validate our endpoints to avoid having problems when manipulating data.

Let’s consider the application below, which is a basic API implementation for a car rental service.

Get hands-on with 1200+ tech skills courses.