Optional '/-/' delimiter for search API
'/-/' delimiter is used only in UI, in API we don't use it for other endpoints. To align search endpoints with the rest of API endpoints, this patch makes '/-/' optional for existing endpoints (to keep backward compatibility).
Documentation is updated to prefer paths without '/-/'.
EE version of this patch: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4973
Related issues:
gitlab-ee#5245