From 9ca815eeba60ca2a391e1d11a92546370f6a4490 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 18 Aug 2026 13:33:43 +0000 Subject: [PATCH] Regenerate client from commit ec18248 of spec repo --- .generator/schemas/v2/openapi.yaml | 6 ++++++ tests/v2/features/feature_flags.feature | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index db0bdfdf15..b6f328a844 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -143806,6 +143806,12 @@ paths: schema: $ref: "#/components/schemas/APIErrorResponse" description: Not Found + "409": + content: + application/json: + schema: + $ref: "#/components/schemas/APIErrorResponse" + description: Conflict - Another active feature flag already uses the archived flag's key or name. "429": $ref: "#/components/responses/TooManyRequestsResponse" security: diff --git a/tests/v2/features/feature_flags.feature b/tests/v2/features/feature_flags.feature index f44699236d..67787fc35b 100644 --- a/tests/v2/features/feature_flags.feature +++ b/tests/v2/features/feature_flags.feature @@ -430,6 +430,13 @@ Feature: Feature Flags When the request is sent Then the response status is 400 Bad Request + @generated @skip @team:DataDog/feature-flags + Scenario: Unarchive a feature flag returns "Conflict - Another active feature flag already uses the archived flag's key or name." response + Given new "UnarchiveFeatureFlag" request + And request contains "feature_flag_id" parameter from "REPLACE.ME" + When the request is sent + Then the response status is 409 Conflict - Another active feature flag already uses the archived flag's key or name. + @skip @team:DataDog/feature-flags Scenario: Unarchive a feature flag returns "Not Found" response Given new "UnarchiveFeatureFlag" request