From 52e58e01d24b89ea879596d9d0f8c33066315d01 Mon Sep 17 00:00:00 2001 From: shijl0925 Date: Tue, 24 Dec 2024 02:45:42 +0000 Subject: [PATCH] Add untracked file during workflow --- sonarqube/measures/measures_gen.go | 2 +- sonarqube/qualitygates/qualitygates_gen.go | 4 ++-- sonarqube/webhooks/webhooks_gen.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sonarqube/measures/measures_gen.go b/sonarqube/measures/measures_gen.go index e38843f..34e459a 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_maintainability_issues, reliability_issues, maintainability_issues, security_issues, new_reliability_issues, new_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 e9c53f3..0f62cd6 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:
} @@ -288,6 +288,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:
} diff --git a/sonarqube/webhooks/webhooks_gen.go b/sonarqube/webhooks/webhooks_gen.go index a9bd877..0fee0e6 100644 --- a/sonarqube/webhooks/webhooks_gen.go +++ b/sonarqube/webhooks/webhooks_gen.go @@ -99,7 +99,7 @@ type ListRequest struct { // ListResponse is the response for ListRequest type ListResponse struct { Webhooks []struct { - HasSecret string `json:"hasSecret,omitempty"` + HasSecret bool `json:"hasSecret,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` Url string `json:"url,omitempty"`