From d912eae9498e10b92adcfc21fd0f85b10f74b249 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 19 Feb 2025 19:15:27 +0000 Subject: [PATCH] Regenerate client from commit f0e5fdcf of spec repo --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 4 ++-- tests/scenarios/features/v2/cloud_cost_management.feature | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 335c93b79..cb19b82fa 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-19 14:28:25.987126", - "spec_repo_commit": "f57f6771" + "regenerated": "2025-02-19 19:09:51.711358", + "spec_repo_commit": "f0e5fdcf" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-02-19 14:28:26.002122", - "spec_repo_commit": "f57f6771" + "regenerated": "2025-02-19 19:09:51.727956", + "spec_repo_commit": "f0e5fdcf" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index eb62353da..17e1aad8f 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -3147,7 +3147,7 @@ components: type: integer scope: description: The scope of your observed subscription. - example: subscriptions/1234abcd-1234-abcd-1234-1234abcd1234 + example: /subscriptions/1234abcd-1234-abcd-1234-1234abcd1234 type: string status: description: The status of the Azure config. @@ -3303,7 +3303,7 @@ components: type: boolean scope: description: The scope of your observed subscription. - example: subscriptions/1234abcd-1234-abcd-1234-1234abcd1234 + example: /subscriptions/1234abcd-1234-abcd-1234-1234abcd1234 type: string required: - account_id diff --git a/tests/scenarios/features/v2/cloud_cost_management.feature b/tests/scenarios/features/v2/cloud_cost_management.feature index 4bef351f2..f5a51caa5 100644 --- a/tests/scenarios/features/v2/cloud_cost_management.feature +++ b/tests/scenarios/features/v2/cloud_cost_management.feature @@ -31,7 +31,7 @@ Feature: Cloud Cost Management @generated @skip @team:Datadog/cloud-cost-management Scenario: Create Cloud Cost Management Azure configs returns "Bad Request" response Given new "CreateCostAzureUCConfigs" request - And body with value {"data": {"attributes": {"account_id": "1234abcd-1234-abcd-1234-1234abcd1234", "actual_bill_config": {"export_name": "dd-actual-export", "export_path": "dd-export-path", "storage_account": "dd-storage-account", "storage_container": "dd-storage-container"}, "amortized_bill_config": {"export_name": "dd-actual-export", "export_path": "dd-export-path", "storage_account": "dd-storage-account", "storage_container": "dd-storage-container"}, "client_id": "1234abcd-1234-abcd-1234-1234abcd1234", "scope": "subscriptions/1234abcd-1234-abcd-1234-1234abcd1234"}, "type": "azure_uc_config_post_request"}} + And body with value {"data": {"attributes": {"account_id": "1234abcd-1234-abcd-1234-1234abcd1234", "actual_bill_config": {"export_name": "dd-actual-export", "export_path": "dd-export-path", "storage_account": "dd-storage-account", "storage_container": "dd-storage-container"}, "amortized_bill_config": {"export_name": "dd-actual-export", "export_path": "dd-export-path", "storage_account": "dd-storage-account", "storage_container": "dd-storage-container"}, "client_id": "1234abcd-1234-abcd-1234-1234abcd1234", "scope": "/subscriptions/1234abcd-1234-abcd-1234-1234abcd1234"}, "type": "azure_uc_config_post_request"}} When the request is sent Then the response status is 400 Bad Request