From e5eb4d30a9570beb06cbf487f22427f4d82b0a07 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 13 Mar 2026 18:33:19 +0000 Subject: [PATCH] Regenerate client from commit 2cdbe8b of spec repo --- .generator/schemas/v2/openapi.yaml | 1 - src/datadog_api_client/v2/api/events_api.py | 2 +- tests/v2/features/events.feature | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index bd5307a92d..e865531d48 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -83720,7 +83720,6 @@ paths: $ref: '#/components/responses/TooManyRequestsResponse' security: - apiKeyAuth: [] - appKeyAuth: [] servers: - url: https://{subdomain}.{site} variables: diff --git a/src/datadog_api_client/v2/api/events_api.py b/src/datadog_api_client/v2/api/events_api.py index 18736a12ca..21ec121ba9 100644 --- a/src/datadog_api_client/v2/api/events_api.py +++ b/src/datadog_api_client/v2/api/events_api.py @@ -38,7 +38,7 @@ def __init__(self, api_client=None): self._create_event_endpoint = _Endpoint( settings={ "response_type": (EventCreateResponsePayload,), - "auth": ["apiKeyAuth", "appKeyAuth"], + "auth": ["apiKeyAuth"], "endpoint_path": "/api/v2/events", "operation_id": "create_event", "http_method": "POST", diff --git a/tests/v2/features/events.feature b/tests/v2/features/events.feature index 5beda13d5e..24d1db4b18 100644 --- a/tests/v2/features/events.feature +++ b/tests/v2/features/events.feature @@ -14,8 +14,8 @@ Feature: Events Background: Given a valid "apiKeyAuth" key in the system - And a valid "appKeyAuth" key in the system And an instance of "Events" API + And a valid "appKeyAuth" key in the system @generated @skip @team:DataDog/event-management Scenario: Get a list of events returns "Bad Request" response