code: func (r *ResourceDefinition) URITemplate() string {
  	ca := r.CanonicalAction()
  	if ca == nil || len(ca.Routes) == 0 {
  		return ""
  	}
  	return ca.Routes[0].FullPath()
  }
docs: // URITemplate returns a URI template to this resource.
  // The result is the empty string if the resource does not have a "show" action
  // and does not define a different canonical action.