From 3df71fc65841465536ecce12387605f46750bc6f Mon Sep 17 00:00:00 2001 From: shijl0925 Date: Sun, 15 Dec 2024 03:05:29 +0000 Subject: [PATCH] Add untracked file during workflow --- sonarqube/measures/measures_gen.go | 2 +- sonarqube/qualitygates/qualitygates_gen.go | 4 ++-- sonarqube/rules_gen.go | 4 +++- 3 files changed, 6 insertions(+), 4 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 e9c53f3..d802ff9 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/rules_gen.go b/sonarqube/rules_gen.go index c5ab965..c2e9646 100644 --- a/sonarqube/rules_gen.go +++ b/sonarqube/rules_gen.go @@ -70,7 +70,8 @@ func (s *Rules) Repositories(ctx context.Context, r rules.RepositoriesRequest) ( // Since 4.4 // Changelog: // -// 2025.2: The facet 'active_impactSeverities' has been added. +// 2025.1: The facet 'active_impactSeverities' has been added. +// 2025.1: The deprecated field 'htmlDesc' is not returned anymore, even if specified in the 'f' parameter. // 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'impactSeverities' of 'facets' have been added // 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added // 10.8: Parameter 'severities' now supports values: 'INFO','BLOCKER' @@ -155,6 +156,7 @@ func (s *Rules) SearchAll(ctx context.Context, r rules.SearchRequest) (*rules.Se // Since 4.2 // Changelog: // +// 2025.1: The deprecated field 'htmlDesc' is not returned anymore, even if specified in the 'f' parameter. // 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added. // 10.8: The field 'severity' and 'type' in the response are not deprecated anymore. // 10.2: Add 'impacts', 'cleanCodeAttribute', 'cleanCodeAttributeCategory' fields to the response