code: func defaultPath(action *design.ActionDefinition) string {
  	for _, r := range action.Routes {
  		candidate := r.FullPath()
  		if !strings.ContainsRune(candidate, ':') {
  			return candidate
  		}
  	}
  	return ""
  }
docs: // defaultPath returns the first route path for the given action that does not take any wildcard,
  // empty string if none.