From f8721c3836f3910bc4ff97c468135fbd7352e11b Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Wed, 27 Aug 2025 11:05:08 +0000 Subject: [PATCH] Regenerate client from commit d70f7bd of spec repo --- .generated-info | 4 +-- .generator/schemas/v2/openapi.yaml | 32 +++++++++---------- .../v2/api/on_call_paging_api.py | 8 ++--- 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.generated-info b/.generated-info index 60618dc9b9..e185390caf 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "98e3371", - "generated": "2025-08-27 08:45:21.765" + "spec_repo_commit": "d70f7bd", + "generated": "2025-08-27 11:05:08.562" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 7d9ee66a12..c42eb9a24e 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -58234,10 +58234,6 @@ paths: description: OK. '429': $ref: '#/components/responses/TooManyRequestsResponse' - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: [] servers: - url: https://{site} variables: @@ -58270,6 +58266,10 @@ paths: summary: Create On-Call Page tags: - On-Call Paging + x-permission: + operator: AND + permissions: + - on_call_page /api/v2/on-call/pages/{page_id}/acknowledge: post: description: 'Acknowledges an On-Call Page. @@ -58290,10 +58290,6 @@ paths: description: Accepted. '429': $ref: '#/components/responses/TooManyRequestsResponse' - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: [] servers: - url: https://{site} variables: @@ -58326,6 +58322,10 @@ paths: summary: Acknowledge On-Call Page tags: - On-Call Paging + x-permission: + operator: AND + permissions: + - on_call_respond /api/v2/on-call/pages/{page_id}/escalate: post: description: 'Escalates an On-Call Page. @@ -58346,10 +58346,6 @@ paths: description: Accepted. '429': $ref: '#/components/responses/TooManyRequestsResponse' - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: [] servers: - url: https://{site} variables: @@ -58382,6 +58378,10 @@ paths: summary: Escalate On-Call Page tags: - On-Call Paging + x-permission: + operator: AND + permissions: + - on_call_page /api/v2/on-call/pages/{page_id}/resolve: post: description: 'Resolves an On-Call Page. @@ -58402,10 +58402,6 @@ paths: description: Accepted. '429': $ref: '#/components/responses/TooManyRequestsResponse' - security: - - apiKeyAuth: [] - appKeyAuth: [] - - AuthZ: [] servers: - url: https://{site} variables: @@ -58438,6 +58434,10 @@ paths: summary: Resolve On-Call Page tags: - On-Call Paging + x-permission: + operator: AND + permissions: + - on_call_respond /api/v2/on-call/schedules: post: description: Create a new On-Call schedule diff --git a/src/datadog_api_client/v2/api/on_call_paging_api.py b/src/datadog_api_client/v2/api/on_call_paging_api.py index a1d4c146e4..f72fbd997d 100644 --- a/src/datadog_api_client/v2/api/on_call_paging_api.py +++ b/src/datadog_api_client/v2/api/on_call_paging_api.py @@ -28,7 +28,7 @@ def __init__(self, api_client=None): self._acknowledge_on_call_page_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], + "auth": ["apiKeyAuth", "appKeyAuth"], "endpoint_path": "/api/v2/on-call/pages/{page_id}/acknowledge", "operation_id": "acknowledge_on_call_page", "http_method": "POST", @@ -96,7 +96,7 @@ def __init__(self, api_client=None): self._create_on_call_page_endpoint = _Endpoint( settings={ "response_type": (CreatePageResponse,), - "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], + "auth": ["apiKeyAuth", "appKeyAuth"], "endpoint_path": "/api/v2/on-call/pages", "operation_id": "create_on_call_page", "http_method": "POST", @@ -161,7 +161,7 @@ def __init__(self, api_client=None): self._escalate_on_call_page_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], + "auth": ["apiKeyAuth", "appKeyAuth"], "endpoint_path": "/api/v2/on-call/pages/{page_id}/escalate", "operation_id": "escalate_on_call_page", "http_method": "POST", @@ -229,7 +229,7 @@ def __init__(self, api_client=None): self._resolve_on_call_page_endpoint = _Endpoint( settings={ "response_type": None, - "auth": ["apiKeyAuth", "appKeyAuth", "AuthZ"], + "auth": ["apiKeyAuth", "appKeyAuth"], "endpoint_path": "/api/v2/on-call/pages/{page_id}/resolve", "operation_id": "resolve_on_call_page", "http_method": "POST",