From 80ce99a9411a9b4a8e0ce462f854d46dcaf0a5d2 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 2 Aug 2022 14:16:29 +0000 Subject: [PATCH] Regenerate client from commit 38d3cf07 of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v1/openapi.yaml | 4 ++-- .../DeletePagerDutyIntegrationService.rb | 4 ++-- features/v1/pagerduty_integration.feature | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index aba8aa93a59f..fb244430c420 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -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" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index e6ba9114524e..7f68c2ad8224 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -20619,8 +20619,8 @@ paths: schema: type: string responses: - '200': - description: OK + '204': + description: No Content '403': content: application/json: diff --git a/examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.rb b/examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.rb index b498cbd783bc..e91b2bbba188 100644 --- a/examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.rb +++ b/examples/v1/pagerduty-integration/DeletePagerDutyIntegrationService.rb @@ -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") diff --git a/features/v1/pagerduty_integration.feature b/features/v1/pagerduty_integration.feature index 3f92580358d9..df786f66c6f0 100644 --- a/features/v1/pagerduty_integration.feature +++ b/features/v1/pagerduty_integration.feature @@ -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