Open
Description
Description
Implement a new endpoint /books/search
that allows users to search for books based on their description. This feature should integrate with the existing repository and handle search queries efficiently.
Acceptance Criteria
- Implement the
/books/search
endpoint in the controller. - Modify the repository to support searching by description.
- Validate and sanitize search input to avoid SQL injection.
- Write tests to verify the endpoint works as expected.