> I am trying to use URI templates to describe an existing API. The api has parameters which
> include hyphens "-". URI template variable names disallow hyphens, forcing them to be
> % encoded.
> Why should hyphens be excluded? They don't seem to have special meaning in templates
> and they are unreserved in URIs.
> http://tools.ietf.org/html/rfc3986#section-2.3 > http://tools.ietf.org/html/rfc6570#section-2.3 >
> It might work out that the resulting URIs are useable, but they are damn ugly,
> and it was readability that prompted the hyphens in the first place.
> Peter Rushforth