Spring Applications

Project: Input Validation and Documentation

The objective of this exercise is to provide input validation and documentation for the REST services of the bookstore application.
  1. Inject a validator into the CatalogService and use it to filter out books from Google's Book API that do not have an ISBN, title, author, publisher, or price.
  2. Add Bean Validation constraints to the method parameters of all REST controllers according to the API documentation, and annotate the controllers to activate bean validation..
  3. Add the SpringDoc library as Maven dependency to generate an OpenAPI documentations.