UnstableChanges

Summary

  1. tsk15: Refactors searchStories endpoint with `contains` param and JSON (details)
Commit b87e05158b8360be087209a9d55b923b746ab859 by devpablogg
tsk15: Refactors searchStories endpoint with `contains` param and JSON
errors
This commit refactors the `searchStories` endpoint in `StoryResource` by
removing the `/search` path and updating the query parameter from `text`
to
`contains`. The corresponding tests were adjusted to use the new
parameter. The endpoint now validates that the `contains` parameter is
provided and not empty, returning a `400 Bad Request` if missing. All
error responses throughout the resource were standardized to JSON
format.
The file was modifiedrest/src/main/java/es/uvigo/esei/microstories/rest/StoryResource.java (diff)