diff --git a/sonarqube/issues_gen.go b/sonarqube/issues_gen.go index 5e528c7..6ef5c06 100644 --- a/sonarqube/issues_gen.go +++ b/sonarqube/issues_gen.go @@ -17,6 +17,7 @@ type Issues service // Since 3.6 // Changelog: // +// 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added. // 10.4: The response fields 'severity' and 'type' are deprecated. Please use 'impacts' instead. // 10.4: The response fields 'status' and 'resolution' are deprecated. Please use 'issueStatus' instead. // 10.4: Add 'issueStatus' field to the response. @@ -42,6 +43,7 @@ func (s *Issues) AddComment(ctx context.Context, r issues.AddCommentRequest) (*i // Since 3.6 // Changelog: // +// 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added. // 10.4: The response fields 'severity' and 'type' are deprecated. Please use 'impacts' instead. // 10.4: The response fields 'status' and 'resolution' are deprecated. Please use 'issueStatus' instead. // 10.4: Add 'issueStatus' field to the response. @@ -161,6 +163,7 @@ func (s *Issues) DeleteComment(ctx context.Context, r issues.DeleteCommentReques // Since 3.6 // Changelog: // +// 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added. // 10.4: The transitions 'wontfix' and 'confirm' are deprecated. Please use 'accept' instead. The transition 'unconfirm' is deprecated too. // 10.4: Add transition 'accept'. // 10.4: The response fields 'severity' and 'type' are deprecated. Please use 'impacts' instead. @@ -191,6 +194,7 @@ func (s *Issues) DoTransition(ctx context.Context, r issues.DoTransitionRequest) // Since 3.6 // Changelog: // +// 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added. // 10.4: The response fields 'severity' and 'type' are deprecated. Please use 'impacts' instead. // 10.4: The response fields 'status' and 'resolution' are deprecated. Please use 'issueStatus' instead. // 10.4: Add 'issueStatus' field to the response. @@ -249,6 +253,9 @@ func (s *Issues) Reindex(ctx context.Context, r issues.ReindexRequest) (*http.Re // Since 3.6 // Changelog: // +// 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'. // 10.7: Facet 'casa' has been added // 10.7: Param 'casa' has been added // 10.7: Facet 'stig-ASD_V5R3' has been added @@ -386,6 +393,7 @@ func (s *Issues) SetSeverity(ctx context.Context, r issues.SetSeverityRequest) ( // Since 5.1 // Changelog: // +// 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added. // 10.4: The response fields 'severity' and 'type' are deprecated. Please use 'impacts' instead. // 10.4: The response fields 'status' and 'resolution' are deprecated. Please use 'issueStatus' instead. // 10.4: Add 'issueStatus' field to the response. diff --git a/sonarqube/measures/measures_gen.go b/sonarqube/measures/measures_gen.go index 214d1c7..f01b3bc 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 new_reliability_issues, new_security_issues, new_maintainability_issues, reliability_issues, maintainability_issues, security_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, new_security_issues, new_reliability_issues, security_issues, maintainability_issues, reliability_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 e7e4e7b..719fe12 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:
} @@ -281,6 +281,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/qualityprofiles_gen.go b/sonarqube/qualityprofiles_gen.go index 0dc41de..c4b744d 100644 --- a/sonarqube/qualityprofiles_gen.go +++ b/sonarqube/qualityprofiles_gen.go @@ -112,6 +112,7 @@ func (s *Qualityprofiles) ChangeParent(ctx context.Context, r qualityprofiles.Ch // Changelog: // // 10.8: Added parameter 'filterMode' +// 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added // 10.3: Added fields 'cleanCodeAttributeCategory', 'impacts' to response // 10.3: Added fields 'oldCleanCodeAttribute', 'newCleanCodeAttribute', 'oldCleanCodeAttributeCategory', 'newCleanCodeAttributeCategory' and 'impactChanges' to 'params' section of response // 10.3: Added field 'sonarQubeVersion' to 'params' section of response diff --git a/sonarqube/rules_gen.go b/sonarqube/rules_gen.go index 8ef0224..3250ab4 100644 --- a/sonarqube/rules_gen.go +++ b/sonarqube/rules_gen.go @@ -69,6 +69,9 @@ func (s *Rules) Repositories(ctx context.Context, r rules.RepositoriesRequest) ( // Since 4.4 // Changelog: // +// 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' // 10.8: The field 'impacts' has been added to the response // 10.6: Parameter 'prioritizedRule has been added // 10.2: Add 'impacts', 'cleanCodeAttribute', 'cleanCodeAttributeCategory' fields to the response @@ -146,6 +149,7 @@ func (s *Rules) SearchAll(ctx context.Context, r rules.SearchRequest) (*rules.Se // Since 4.2 // Changelog: // +// 10.8: Possible values 'INFO' and 'BLOCKER' for response field 'severity' of 'impacts' have been added. // 10.2: Add 'impacts', 'cleanCodeAttribute', 'cleanCodeAttributeCategory' fields to the response // 10.2: The field 'severity' and 'type' in the response have been deprecated, use 'impacts' instead. // 10.0: The deprecated field 'effortToFixDescription' has been removed, use 'gapDescription' instead.