Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.2",
"regenerated": "2022-07-29 20:40:01.152572",
"spec_repo_commit": "6b569d0a"
"regenerated": "2022-08-02 14:16:13.272043",
"spec_repo_commit": "38d3cf07"
},
"v2": {
"apigentools_version": "1.6.2",
"regenerated": "2022-07-29 20:40:01.168388",
"spec_repo_commit": "6b569d0a"
"regenerated": "2022-08-02 14:16:13.283974",
"spec_repo_commit": "38d3cf07"
}
}
}
4 changes: 2 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20619,8 +20619,8 @@ paths:
schema:
type: string
responses:
'200':
description: OK
'204':
description: No Content
'403':
content:
application/json:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Delete a single service object returns "OK" response
# Delete a single service object returns "No Content" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::PagerDutyIntegrationAPI.new
p api_instance.delete_pager_duty_integration_service("service_name")
api_instance.delete_pager_duty_integration_service("service_name")
4 changes: 2 additions & 2 deletions features/v1/pagerduty_integration.feature
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ Feature: PagerDuty Integration
Then the response status is 404 Item Not Found

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

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