fix raml url for endpoints with trailing slash