Skip to content

Commit 4a160f4

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
[SDTEST-3369] Update description for Code Coverage endpoints (DataDog#3716)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent adcb06b commit 4a160f4

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75453,10 +75453,7 @@ paths:
7545375453

7545475454
This endpoint provides overall coverage metrics as well as breakdowns by service
7545575455

75456-
and code owner.
75457-
75458-
75459-
**Note**: This endpoint requires the `code_coverage_read` permission.'
75456+
and code owner.'
7546075457
operationId: GetCodeCoverageBranchSummary
7546175458
requestBody:
7546275459
content:
@@ -75511,10 +75508,7 @@ paths:
7551175508
and code owner.
7551275509

7551375510

75514-
The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).
75515-
75516-
75517-
**Note**: This endpoint requires the `code_coverage_read` permission.'
75511+
The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).'
7551875512
operationId: GetCodeCoverageCommitSummary
7551975513
requestBody:
7552075514
content:

api/datadogV2/api_code_coverage.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ type CodeCoverageApi datadog.Service
2121
// Retrieve aggregated code coverage statistics for a specific branch in a repository.
2222
// This endpoint provides overall coverage metrics as well as breakdowns by service
2323
// and code owner.
24-
//
25-
// **Note**: This endpoint requires the `code_coverage_read` permission.
2624
func (a *CodeCoverageApi) GetCodeCoverageBranchSummary(ctx _context.Context, body BranchCoverageSummaryRequest) (CoverageSummaryResponse, *_nethttp.Response, error) {
2725
var (
2826
localVarHTTPMethod = _nethttp.MethodPost
@@ -116,8 +114,6 @@ func (a *CodeCoverageApi) GetCodeCoverageBranchSummary(ctx _context.Context, bod
116114
// and code owner.
117115
//
118116
// The commit SHA must be a 40-character hexadecimal string (SHA-1 hash).
119-
//
120-
// **Note**: This endpoint requires the `code_coverage_read` permission.
121117
func (a *CodeCoverageApi) GetCodeCoverageCommitSummary(ctx _context.Context, body CommitCoverageSummaryRequest) (CoverageSummaryResponse, *_nethttp.Response, error) {
122118
var (
123119
localVarHTTPMethod = _nethttp.MethodPost

0 commit comments

Comments
 (0)