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.
- Inject a validator into the
GoogleBooksClient
and use it to filter out books that do not have an isbn, title, author, publisher, or price.
- Add Bean Validation constraints to the method parameters of all REST controllers that match the associated API documentations.
- Add the SpringDoc library as Maven dependency to generate an OpenAPI documentations.