gen/writers/helpers.go
func parameters(a *gen.Action) string {
	var m = a.MandatoryParams()
	var hasOptional = a.HasOptionalParams()
	var countParams = len(m)
	if hasOptional {
		countParams++
	}
	var params = make([]string, countParams)
	for i, param := range m {
		params[i] = fmt.Sprintf("%s %s", fixReserved(param.VarName), param.Signature())
	}
	if hasOptional {
		params[countParams-1] = "options rsapi.APIParams"
	}

	return strings.Join(params, ", ")
}
func parameters(a *gen.Action) string {
	var m = a.MandatoryParams()
	var hasOptional = a.HasOptionalParams()
	var countParams = len(m)
	if hasOptional {
		countParams++
	}
	var params = make([]string, countParams)
	for i, param := range m {
		params[i] = fmt.Sprintf("%s %s", fixReserved(param.VarName), param.Signature())
	}
	if hasOptional {
		params[countParams-1] = "options rsapi.APIParams"
	}

	return strings.Join(params, ", ")
}
// Serialize action parameters