From 7eef7a7848d52aad56f83b900e401f026d9234bc Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 25 Nov 2025 17:45:11 +0000 Subject: [PATCH] Regenerate client from commit 479ca66 of spec repo --- .generator/schemas/v2/openapi.yaml | 10 +++++++++- features/v2/on-call.feature | 21 ++++++++++++++------- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 9bceb715496a..32b9503e6201 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -72918,9 +72918,13 @@ paths: - apiKeyAuth: [] appKeyAuth: [] - AuthZ: [] - summary: Get the schedule on-call user + summary: Get the scheduled on-call user tags: - On-Call + x-permission: + operator: AND + permissions: + - on_call_read /api/v2/on-call/teams/{team_id}/on-call: get: description: Get a team's on-call users at a given time @@ -72963,6 +72967,10 @@ paths: summary: Get team on-call users tags: - On-Call + x-permission: + operator: AND + permissions: + - on_call_read /api/v2/on-call/teams/{team_id}/routing-rules: get: description: Get a team's On-Call routing rules diff --git a/features/v2/on-call.feature b/features/v2/on-call.feature index 39640938e4a1..251f00fae404 100644 --- a/features/v2/on-call.feature +++ b/features/v2/on-call.feature @@ -153,26 +153,33 @@ Feature: On-Call When the request is sent Then the response status is 200 OK + @team:DataDog/on-call + Scenario: Get the schedule on-call user returns "OK" response + Given new "GetScheduleOnCallUser" request + And there is a valid "user" in the system + And there is a valid "schedule" in the system + And request contains "schedule_id" parameter from "schedule.data.id" + When the request is sent + Then the response status is 200 OK + @generated @skip @team:DataDog/on-call - Scenario: Get the schedule on-call user returns "Bad Request" response + Scenario: Get the scheduled on-call user returns "Bad Request" response Given new "GetScheduleOnCallUser" request And request contains "schedule_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:DataDog/on-call - Scenario: Get the schedule on-call user returns "Not Found" response + Scenario: Get the scheduled on-call user returns "Not Found" response Given new "GetScheduleOnCallUser" request And request contains "schedule_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found - @team:DataDog/on-call - Scenario: Get the schedule on-call user returns "OK" response + @generated @skip @team:DataDog/on-call + Scenario: Get the scheduled on-call user returns "OK" response Given new "GetScheduleOnCallUser" request - And there is a valid "user" in the system - And there is a valid "schedule" in the system - And request contains "schedule_id" parameter from "schedule.data.id" + And request contains "schedule_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK