Bug 27931 introduced /items/:item_id/pickup_locations but missed to add the route summary and the top level display title for the 'pickup_locations' tag.
Created attachment 123787 [details] [review] Bug 28842: A summary to the /items/:item_id/pickup_locations route This patch simply adds a summary to the route. This will be picked by the API docs. It also removes the 'pickup_locations' tag, as we did in bug 28461. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Created attachment 123810 [details] [review] Bug 28842: A summary to the /items/:item_id/pickup_locations route This patch simply adds a summary to the route. This will be picked by the API docs. It also removes the 'pickup_locations' tag, as we did in bug 28461. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com>
Testing notes (koha-testing-docker): 1. Enable RESTPublicAPI system preference. 2. Go to http://127.0.0.1:8080/api/v1/.html 3. Search for getItemPickupLocations 4. Text immediately after should say "This resource is not documented." 5. Apply the patch, flush_memcached, restart_all. 6. Refresh the page. 7. The text should now say "Get valid pickup locations for an item"
Created attachment 123824 [details] [review] Bug 28842: A summary to the /items/:item_id/pickup_locations route This patch simply adds a summary to the route. This will be picked by the API docs. It also removes the 'pickup_locations' tag, as we did in bug 28461. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Nice fix, no typos or spelling issues. Passing QA
Pushed to master for 21.11, thanks to everybody involved!
Please backport to 21.05.