diff --git a/.generated-info b/.generated-info index 54f289296114..d77486b38dac 100644 --- a/.generated-info +++ b/.generated-info @@ -1,4 +1,4 @@ { - "spec_repo_commit": "98e3371", - "generated": "2025-08-27 08:45:02.412" + "spec_repo_commit": "d70f7bd", + "generated": "2025-08-27 11:05:03.550" } diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 7d9ee66a1278..c42eb9a24e48 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/lib/datadog_api_client/v2/api/on_call_paging_api.rb b/lib/datadog_api_client/v2/api/on_call_paging_api.rb index 05ee7bd9968c..d7e1ea30eb57 100644 --- a/lib/datadog_api_client/v2/api/on_call_paging_api.rb +++ b/lib/datadog_api_client/v2/api/on_call_paging_api.rb @@ -69,7 +69,7 @@ def acknowledge_on_call_page_with_http_info(page_id, opts = {}) return_type = opts[:debug_return_type] # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] new_options = opts.merge( :operation => :acknowledge_on_call_page, @@ -137,7 +137,7 @@ def create_on_call_page_with_http_info(body, opts = {}) return_type = opts[:debug_return_type] || 'CreatePageResponse' # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] new_options = opts.merge( :operation => :create_on_call_page, @@ -203,7 +203,7 @@ def escalate_on_call_page_with_http_info(page_id, opts = {}) return_type = opts[:debug_return_type] # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] new_options = opts.merge( :operation => :escalate_on_call_page, @@ -269,7 +269,7 @@ def resolve_on_call_page_with_http_info(page_id, opts = {}) return_type = opts[:debug_return_type] # auth_names - auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ] + auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth] new_options = opts.merge( :operation => :resolve_on_call_page,