From 632cf2e8d09cac3b25173e30f2d702da76280949 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 15 Aug 2025 20:14:40 +0000 Subject: [PATCH] Regenerate client from commit 5fd0df2 of spec repo --- .generated-info | 4 ++-- .generator/schemas/v2/openapi.yaml | 12 ++++++++++++ .../features/v2/cloud_cost_management.feature | 16 ++++++++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/.generated-info b/.generated-info index 9fc89f791..1d943d0f4 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "c38287b", - "generated": "2025-08-15 18:58:44.539" + "spec_repo_commit": "5fd0df2", + "generated": "2025-08-15 20:14:40.633" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index cd3704553..32fac1498 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -49517,6 +49517,12 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Forbidden + '404': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Not Found '429': $ref: '#/components/responses/TooManyRequestsResponse' security: @@ -49669,6 +49675,12 @@ paths: schema: $ref: '#/components/schemas/APIErrorResponse' description: Forbidden + '404': + content: + application/json: + schema: + $ref: '#/components/schemas/APIErrorResponse' + description: Not Found '429': $ref: '#/components/responses/TooManyRequestsResponse' security: diff --git a/tests/scenarios/features/v2/cloud_cost_management.feature b/tests/scenarios/features/v2/cloud_cost_management.feature index 300d7094f..eed19e63a 100644 --- a/tests/scenarios/features/v2/cloud_cost_management.feature +++ b/tests/scenarios/features/v2/cloud_cost_management.feature @@ -267,6 +267,14 @@ Feature: Cloud Cost Management When the request is sent Then the response status is 200 OK + @team:Datadog/cloud-cost-management + Scenario: Update Cloud Cost Management AWS CUR config returns "Not Found" response + Given new "UpdateCostAWSCURConfig" request + And request contains "cloud_account_id" parameter with value 12345678 + And body with value {"data": {"attributes": {"is_enabled": true}, "type": "aws_cur_config_patch_request"}} + When the request is sent + Then the response status is 404 Not Found + @replay-only @team:Datadog/cloud-cost-management Scenario: Update Cloud Cost Management AWS CUR config returns "OK" response Given new "UpdateCostAWSCURConfig" request @@ -284,6 +292,14 @@ Feature: Cloud Cost Management When the request is sent Then the response status is 400 Bad Request + @team:Datadog/cloud-cost-management + Scenario: Update Cloud Cost Management Azure config returns "Not Found" response + Given new "UpdateCostAzureUCConfigs" request + And request contains "cloud_account_id" parameter with value 12345678 + And body with value {"data": {"attributes": {"is_enabled": true}, "type": "azure_uc_config_patch_request"}} + When the request is sent + Then the response status is 404 Not Found + @replay-only @team:Datadog/cloud-cost-management Scenario: Update Cloud Cost Management Azure config returns "OK" response Given new "UpdateCostAzureUCConfigs" request