code: func pathTemplate(r *design.RouteDefinition) string {
  	return design.WildcardRegex.ReplaceAllLiteralString(r.FullPath(), "/%s")
  }
docs: // pathTemplate returns a fmt format suitable to build a request path to the route.