I am building a WebApi v.2 method for the following route:
[Route("api/{entityName}/logo/{entityId}/{size:char}")]
public HttpResponseMessage GetLogo(string entityName, string entityId, char size) {...}
Now, I need to restrict size parameter to one of three characters: s, m, l. If size is not one of those, I don't want this route to be matched.
Is it possible?