Skip to content

Commit b0b465a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 38d3cf07 of spec repo (#778)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 098df9d commit b0b465a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.2",
7-
"regenerated": "2022-07-29 20:40:01.034748",
8-
"spec_repo_commit": "6b569d0a"
7+
"regenerated": "2022-08-02 14:16:40.942209",
8+
"spec_repo_commit": "38d3cf07"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.2",
12-
"regenerated": "2022-07-29 20:40:01.051808",
13-
"spec_repo_commit": "6b569d0a"
12+
"regenerated": "2022-08-02 14:16:40.961429",
13+
"spec_repo_commit": "38d3cf07"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20619,8 +20619,8 @@ paths:
2061920619
schema:
2062020620
type: string
2062120621
responses:
20622-
'200':
20623-
description: OK
20622+
'204':
20623+
description: No Content
2062420624
'403':
2062520625
content:
2062620626
application/json:

examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Delete a single service object returns "OK" response
2+
* Delete a single service object returns "No Content" response
33
*/
44

55
import { client, v1 } from "@datadog/datadog-api-client";

features/v1/pagerduty_integration.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ Feature: PagerDuty Integration
3131
Then the response status is 404 Item Not Found
3232

3333
@generated @skip @team:Datadog/web-integrations
34-
Scenario: Delete a single service object returns "OK" response
34+
Scenario: Delete a single service object returns "No Content" response
3535
Given new "DeletePagerDutyIntegrationService" request
3636
And request contains "service_name" parameter from "REPLACE.ME"
3737
When the request is sent
38-
Then the response status is 200 OK
38+
Then the response status is 204 No Content
3939

4040
@generated @skip @team:Datadog/web-integrations
4141
Scenario: Get a single service object returns "Item Not Found" response

packages/datadog-api-client-v1/apis/PagerDutyIntegrationApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export class PagerDutyIntegrationApiResponseProcessor {
275275
const contentType = ObjectSerializer.normalizeMediaType(
276276
response.headers["content-type"]
277277
);
278-
if (isCodeInRange("200", response.httpStatusCode)) {
278+
if (isCodeInRange("204", response.httpStatusCode)) {
279279
return;
280280
}
281281
if (isCodeInRange("403", response.httpStatusCode)) {

0 commit comments

Comments
 (0)