File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
packages/datadog-api-client-v1/apis Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 4
4
"spec_versions": {
5
5
"v1": {
6
6
"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 "
9
9
},
10
10
"v2": {
11
11
"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 "
14
14
}
15
15
}
16
16
}
Original file line number Diff line number Diff line change @@ -20619,8 +20619,8 @@ paths:
20619
20619
schema:
20620
20620
type: string
20621
20621
responses:
20622
- '200 ':
20623
- description: OK
20622
+ '204 ':
20623
+ description: No Content
20624
20624
'403':
20625
20625
content:
20626
20626
application/json:
Original file line number Diff line number Diff line change 1
1
/**
2
- * Delete a single service object returns "OK " response
2
+ * Delete a single service object returns "No Content " response
3
3
*/
4
4
5
5
import { client , v1 } from "@datadog/datadog-api-client" ;
Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ Feature: PagerDuty Integration
31
31
Then the response status is 404 Item Not Found
32
32
33
33
@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
35
35
Given new "DeletePagerDutyIntegrationService" request
36
36
And request contains "service_name" parameter from "REPLACE.ME"
37
37
When the request is sent
38
- Then the response status is 200 OK
38
+ Then the response status is 204 No Content
39
39
40
40
@generated @skip @team:Datadog/web-integrations
41
41
Scenario : Get a single service object returns "Item Not Found" response
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ export class PagerDutyIntegrationApiResponseProcessor {
275
275
const contentType = ObjectSerializer . normalizeMediaType (
276
276
response . headers [ "content-type" ]
277
277
) ;
278
- if ( isCodeInRange ( "200 " , response . httpStatusCode ) ) {
278
+ if ( isCodeInRange ( "204 " , response . httpStatusCode ) ) {
279
279
return ;
280
280
}
281
281
if ( isCodeInRange ( "403" , response . httpStatusCode ) ) {
You can’t perform that action at this time.
0 commit comments