Closed
Description
in src\Common.OData.ApiExplorer\AspNet.OData\Routing\ODataRouteBuilder.cs : ODataRouteBuilder.ExpandParameterTemplate there is code to handle quoting certain data types but that only makes sense when generating a url. OData templates don't put quotes around the parameter. Ive attempted to follow back the references to this function and I don't seen any obvious uses of it where it should be quoting the parameter names.
Surrounding the parameter template with quotes causes an ODataException to be thrown when the template is parsed later on.
see @KanishManuja-MS reply OData/WebApi#1791