diff --git a/.generated-info b/.generated-info index 66145f566eb..61dc912f2a4 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "98e3371", - "generated": "2025-08-27 08:46:33.176" + "spec_repo_commit": "d70f7bd", + "generated": "2025-08-27 11:06:27.247" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 7d9ee66a127..c42eb9a24e4 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/main/java/com/datadog/api/client/v2/api/OnCallPagingApi.java b/src/main/java/com/datadog/api/client/v2/api/OnCallPagingApi.java index fc7a11299a0..066b58d5338 100644 --- a/src/main/java/com/datadog/api/client/v2/api/OnCallPagingApi.java +++ b/src/main/java/com/datadog/api/client/v2/api/OnCallPagingApi.java @@ -110,7 +110,7 @@ public ApiResponse acknowledgeOnCallPageWithHttpInfo(UUID pageId) throws A localVarHeaderParams, new HashMap(), new String[] {"*/*"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); return apiClient.invokeAPI( "POST", builder, @@ -158,7 +158,7 @@ public CompletableFuture> acknowledgeOnCallPageWithHttpInfoAsy localVarHeaderParams, new HashMap(), new String[] {"*/*"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); @@ -240,7 +240,7 @@ public ApiResponse createOnCallPageWithHttpInfo(CreatePageRe localVarHeaderParams, new HashMap(), new String[] {"application/json"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); return apiClient.invokeAPI( "POST", builder, @@ -287,7 +287,7 @@ public CompletableFuture> createOnCallPageWithHt localVarHeaderParams, new HashMap(), new String[] {"application/json"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); @@ -369,7 +369,7 @@ public ApiResponse escalateOnCallPageWithHttpInfo(UUID pageId) throws ApiE localVarHeaderParams, new HashMap(), new String[] {"*/*"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); return apiClient.invokeAPI( "POST", builder, @@ -417,7 +417,7 @@ public CompletableFuture> escalateOnCallPageWithHttpInfoAsync( localVarHeaderParams, new HashMap(), new String[] {"*/*"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex); @@ -499,7 +499,7 @@ public ApiResponse resolveOnCallPageWithHttpInfo(UUID pageId) throws ApiEx localVarHeaderParams, new HashMap(), new String[] {"*/*"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); return apiClient.invokeAPI( "POST", builder, @@ -547,7 +547,7 @@ public CompletableFuture> resolveOnCallPageWithHttpInfoAsync(U localVarHeaderParams, new HashMap(), new String[] {"*/*"}, - new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"}); + new String[] {"apiKeyAuth", "appKeyAuth"}); } catch (ApiException ex) { CompletableFuture> result = new CompletableFuture<>(); result.completeExceptionally(ex);