From c824d4fdcb8289527eb93fb9b6bbc16274278bcd Mon Sep 17 00:00:00 2001 From: shijl0925 Date: Thu, 21 Nov 2024 02:53:38 +0000 Subject: [PATCH] Add untracked file during workflow --- sonarqube/measures/measures_gen.go | 2 +- sonarqube/qualitygates/qualitygates_gen.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sonarqube/measures/measures_gen.go b/sonarqube/measures/measures_gen.go index e38843f..214d1c7 100644 --- a/sonarqube/measures/measures_gen.go +++ b/sonarqube/measures/measures_gen.go @@ -53,7 +53,7 @@ type ComponentTreeRequest struct { Asc string `url:"asc,omitempty"` // Ascending sort Branch string `url:"branch,omitempty"` // Since 6.6;Branch key. Not available in the community edition. Component string `url:"component"` // Component key. The search is based on this component. - MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only security_issues, maintainability_issues, reliability_issues, new_maintainability_issues, new_security_issues, new_reliability_issues metrics are supported + MetricKeys string `url:"metricKeys"` // Comma-separated list of metric keys. Types DISTRIB are not allowed. For type DATA only new_reliability_issues, new_security_issues, new_maintainability_issues, reliability_issues, maintainability_issues, security_issues metrics are supported MetricPeriodSort string `url:"metricPeriodSort,omitempty"` // Since 5.5;Sort measures by leak period or not ?. The 's' parameter must contain the 'metricPeriod' value. MetricSort string `url:"metricSort,omitempty"` // Metric key to sort by. The 's' parameter must contain the 'metric' or 'metricPeriod' value. It must be part of the 'metricKeys' parameter MetricSortFilter string `url:"metricSortFilter,omitempty"` // Filter components. Sort must be on a metric. Possible values are: diff --git a/sonarqube/qualitygates/qualitygates_gen.go b/sonarqube/qualitygates/qualitygates_gen.go index 8a6e1d3..97e3749 100644 --- a/sonarqube/qualitygates/qualitygates_gen.go +++ b/sonarqube/qualitygates/qualitygates_gen.go @@ -37,7 +37,7 @@ type CreateResponse struct { type CreateConditionRequest struct { Error string `form:"error"` // Condition error threshold GateName string `form:"gateName"` // Name of the quality gate - Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:Following metrics are forbidden: + Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:Following metrics are forbidden: Op string `form:"op,omitempty"` // Condition operator:
} @@ -283,6 +283,6 @@ type ShowResponse struct { type UpdateConditionRequest struct { Error string `form:"error"` // Condition error threshold Id string `form:"id"` // Condition ID - Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:Following metrics are forbidden: + Metric string `form:"metric"` // Condition metric.
Only metric of the following types are allowed:Following metrics are forbidden: Op string `form:"op,omitempty"` // Condition operator:
}