From 93fce2e6b4193931b9ce4bc20538ee33b3cef1ce Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Tue, 3 Nov 2026 16:06:48 +0000 Subject: [PATCH] Regenerate client from commit 988d156 of spec repo --- .generator/schemas/v2/openapi.yaml | 36 ++++++++--------- .../on-call-paging/AcknowledgeOnCallPage.java | 2 +- .../v2/on-call-paging/CreateOnCallPage.java | 2 +- .../v2/on-call-paging/EscalateOnCallPage.java | 2 +- .../v2/on-call-paging/ResolveOnCallPage.java | 2 +- .../api/client/v2/api/OnCallPagingApi.java | 40 +++++++++---------- .../CreatePageRequestDataAttributes.java | 4 +- .../client/v2/model/CreatePageResponse.java | 2 +- .../v2/model/CreatePageResponseData.java | 4 +- ...erouteOnCallPageRequestDataAttributes.java | 2 +- .../api/client/v2/api/on-call_paging.feature | 16 ++++---- 11 files changed, 56 insertions(+), 56 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index f7368511bc9..be322ee7990 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -27062,15 +27062,15 @@ components: description: A short summary of the issue or context. type: string tags: - description: Tags to help categorize or filter the page. + description: Tags to help categorize or filter the Page. items: - description: A single tag for categorizing the page. + description: A single tag for categorizing the Page. type: string type: array target: $ref: "#/components/schemas/CreatePageRequestDataAttributesTarget" title: - description: The title of the page. + description: The title of the Page. example: "Service: Test is down" type: string urgency: @@ -27109,10 +27109,10 @@ components: $ref: "#/components/schemas/CreatePageResponseData" type: object CreatePageResponseData: - description: The information returned after successfully creating a page. + description: The information returned after successfully creating a Page. properties: id: - description: The unique ID of the created page. + description: The unique ID of the created Page. type: string type: $ref: "#/components/schemas/CreatePageResponseDataType" @@ -107048,7 +107048,7 @@ components: description: Details about where to reroute the On-Call Page. properties: comment: - description: An optional comment explaining why the page is being rerouted. + description: An optional comment explaining why the Page is being rerouted. example: Rerouting to the database team. type: string target: @@ -209752,7 +209752,7 @@ paths: $ref: "#/components/schemas/CreatePageRequest" required: true responses: - "200": + "201": content: application/json: examples: @@ -209763,7 +209763,7 @@ paths: type: pages schema: $ref: "#/components/schemas/CreatePageResponse" - description: OK. + description: Created. "429": $ref: "#/components/responses/TooManyRequestsResponse" security: @@ -209955,7 +209955,7 @@ paths: Acknowledges an On-Call Page. operationId: AcknowledgeOnCallPage parameters: - - description: The page ID. + - description: The Page ID. in: path name: page_id required: true @@ -209964,8 +209964,8 @@ paths: format: uuid type: string responses: - "202": - description: Accepted. + "204": + description: No Content. "429": $ref: "#/components/responses/TooManyRequestsResponse" security: @@ -210057,7 +210057,7 @@ paths: Escalates an On-Call Page. operationId: EscalateOnCallPage parameters: - - description: The page ID. + - description: The Page ID. in: path name: page_id required: true @@ -210066,8 +210066,8 @@ paths: format: uuid type: string responses: - "202": - description: Accepted. + "204": + description: No Content. "429": $ref: "#/components/responses/TooManyRequestsResponse" security: @@ -210159,7 +210159,7 @@ paths: Reroutes an On-Call Page. operationId: RerouteOnCallPage parameters: - - description: The page ID. + - description: The Page ID. in: path name: page_id required: true @@ -210295,7 +210295,7 @@ paths: Resolves an On-Call Page. operationId: ResolveOnCallPage parameters: - - description: The page ID. + - description: The Page ID. in: path name: page_id required: true @@ -210304,8 +210304,8 @@ paths: format: uuid type: string responses: - "202": - description: Accepted. + "204": + description: No Content. "429": $ref: "#/components/responses/TooManyRequestsResponse" security: diff --git a/examples/v2/on-call-paging/AcknowledgeOnCallPage.java b/examples/v2/on-call-paging/AcknowledgeOnCallPage.java index 7876e6899e9..6326019f109 100644 --- a/examples/v2/on-call-paging/AcknowledgeOnCallPage.java +++ b/examples/v2/on-call-paging/AcknowledgeOnCallPage.java @@ -1,4 +1,4 @@ -// Acknowledge On-Call Page returns "Accepted." response +// Acknowledge On-Call Page returns "No Content." response import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; diff --git a/examples/v2/on-call-paging/CreateOnCallPage.java b/examples/v2/on-call-paging/CreateOnCallPage.java index d3bb8831481..baf9d493def 100644 --- a/examples/v2/on-call-paging/CreateOnCallPage.java +++ b/examples/v2/on-call-paging/CreateOnCallPage.java @@ -1,4 +1,4 @@ -// Create On-Call Page returns "OK." response +// Create On-Call Page returns "Created." response import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; diff --git a/examples/v2/on-call-paging/EscalateOnCallPage.java b/examples/v2/on-call-paging/EscalateOnCallPage.java index 4d1d0d4d3d4..717908c0f13 100644 --- a/examples/v2/on-call-paging/EscalateOnCallPage.java +++ b/examples/v2/on-call-paging/EscalateOnCallPage.java @@ -1,4 +1,4 @@ -// Escalate On-Call Page returns "Accepted." response +// Escalate On-Call Page returns "No Content." response import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; diff --git a/examples/v2/on-call-paging/ResolveOnCallPage.java b/examples/v2/on-call-paging/ResolveOnCallPage.java index 71f4f7243a2..152d78fbc33 100644 --- a/examples/v2/on-call-paging/ResolveOnCallPage.java +++ b/examples/v2/on-call-paging/ResolveOnCallPage.java @@ -1,4 +1,4 @@ -// Resolve On-Call Page returns "Accepted." response +// Resolve On-Call Page returns "No Content." response import com.datadog.api.client.ApiClient; import com.datadog.api.client.ApiException; 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 5be756ed9e6..5cb7845a14f 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 @@ -51,7 +51,7 @@ public void setApiClient(ApiClient apiClient) { * *

See {@link #acknowledgeOnCallPageWithHttpInfo}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @throws ApiException if fails to make API call */ public void acknowledgeOnCallPage(UUID pageId) throws ApiException { @@ -63,7 +63,7 @@ public void acknowledgeOnCallPage(UUID pageId) throws ApiException { * *

See {@link #acknowledgeOnCallPageWithHttpInfoAsync}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return CompletableFuture */ public CompletableFuture acknowledgeOnCallPageAsync(UUID pageId) { @@ -77,14 +77,14 @@ public CompletableFuture acknowledgeOnCallPageAsync(UUID pageId) { /** * Acknowledges an On-Call Page. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details * * * - * + * * *
Response details
Status Code Description Response Headers
202 Accepted. -
204 No Content. -
429 Too many requests -
*/ @@ -128,7 +128,7 @@ public ApiResponse acknowledgeOnCallPageWithHttpInfo(UUID pageId) throws A * *

See {@link #acknowledgeOnCallPageWithHttpInfo}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> acknowledgeOnCallPageWithHttpInfoAsync(UUID pageId) { @@ -215,7 +215,7 @@ public CompletableFuture createOnCallPageAsync(CreatePageReq * * * - * + * * *
Response details
Status Code Description Response Headers
200 OK. -
201 Created. -
429 Too many requests -
*/ @@ -310,7 +310,7 @@ public CompletableFuture> createOnCallPageWithHt * *

See {@link #escalateOnCallPageWithHttpInfo}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @throws ApiException if fails to make API call */ public void escalateOnCallPage(UUID pageId) throws ApiException { @@ -322,7 +322,7 @@ public void escalateOnCallPage(UUID pageId) throws ApiException { * *

See {@link #escalateOnCallPageWithHttpInfoAsync}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return CompletableFuture */ public CompletableFuture escalateOnCallPageAsync(UUID pageId) { @@ -336,14 +336,14 @@ public CompletableFuture escalateOnCallPageAsync(UUID pageId) { /** * Escalates an On-Call Page. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details * * * - * + * * *
Response details
Status Code Description Response Headers
202 Accepted. -
204 No Content. -
429 Too many requests -
*/ @@ -387,7 +387,7 @@ public ApiResponse escalateOnCallPageWithHttpInfo(UUID pageId) throws ApiE * *

See {@link #escalateOnCallPageWithHttpInfo}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> escalateOnCallPageWithHttpInfoAsync(UUID pageId) { @@ -440,7 +440,7 @@ public CompletableFuture> escalateOnCallPageWithHttpInfoAsync( * *

See {@link #rerouteOnCallPageWithHttpInfo}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @param body (required) * @throws ApiException if fails to make API call */ @@ -453,7 +453,7 @@ public void rerouteOnCallPage(UUID pageId, RerouteOnCallPageRequest body) throws * *

See {@link #rerouteOnCallPageWithHttpInfoAsync}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @param body (required) * @return CompletableFuture */ @@ -469,7 +469,7 @@ public CompletableFuture rerouteOnCallPageAsync( /** * Reroutes an On-Call Page. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @param body (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call @@ -531,7 +531,7 @@ public ApiResponse rerouteOnCallPageWithHttpInfo(UUID pageId, RerouteOnCal * *

See {@link #rerouteOnCallPageWithHttpInfo}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @param body (required) * @return CompletableFuture<ApiResponse<Void>> */ @@ -595,7 +595,7 @@ public CompletableFuture> rerouteOnCallPageWithHttpInfoAsync( * *

See {@link #resolveOnCallPageWithHttpInfo}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @throws ApiException if fails to make API call */ public void resolveOnCallPage(UUID pageId) throws ApiException { @@ -607,7 +607,7 @@ public void resolveOnCallPage(UUID pageId) throws ApiException { * *

See {@link #resolveOnCallPageWithHttpInfoAsync}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return CompletableFuture */ public CompletableFuture resolveOnCallPageAsync(UUID pageId) { @@ -621,14 +621,14 @@ public CompletableFuture resolveOnCallPageAsync(UUID pageId) { /** * Resolves an On-Call Page. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return ApiResponse<Void> * @throws ApiException if fails to make API call * @http.response.details * * * - * + * * *
Response details
Status Code Description Response Headers
202 Accepted. -
204 No Content. -
429 Too many requests -
*/ @@ -672,7 +672,7 @@ public ApiResponse resolveOnCallPageWithHttpInfo(UUID pageId) throws ApiEx * *

See {@link #resolveOnCallPageWithHttpInfo}. * - * @param pageId The page ID. (required) + * @param pageId The Page ID. (required) * @return CompletableFuture<ApiResponse<Void>> */ public CompletableFuture> resolveOnCallPageWithHttpInfoAsync(UUID pageId) { diff --git a/src/main/java/com/datadog/api/client/v2/model/CreatePageRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/CreatePageRequestDataAttributes.java index a7a631d20dd..af692496f62 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CreatePageRequestDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/CreatePageRequestDataAttributes.java @@ -96,7 +96,7 @@ public CreatePageRequestDataAttributes addTagsItem(String tagsItem) { } /** - * Tags to help categorize or filter the page. + * Tags to help categorize or filter the Page. * * @return tags */ @@ -141,7 +141,7 @@ public CreatePageRequestDataAttributes title(String title) { } /** - * The title of the page. + * The title of the Page. * * @return title */ diff --git a/src/main/java/com/datadog/api/client/v2/model/CreatePageResponse.java b/src/main/java/com/datadog/api/client/v2/model/CreatePageResponse.java index b2bf639a47a..87572751140 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CreatePageResponse.java +++ b/src/main/java/com/datadog/api/client/v2/model/CreatePageResponse.java @@ -32,7 +32,7 @@ public CreatePageResponse data(CreatePageResponseData data) { } /** - * The information returned after successfully creating a page. + * The information returned after successfully creating a Page. * * @return data */ diff --git a/src/main/java/com/datadog/api/client/v2/model/CreatePageResponseData.java b/src/main/java/com/datadog/api/client/v2/model/CreatePageResponseData.java index 51fe08e53ba..53ba4767d2f 100644 --- a/src/main/java/com/datadog/api/client/v2/model/CreatePageResponseData.java +++ b/src/main/java/com/datadog/api/client/v2/model/CreatePageResponseData.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.Objects; -/** The information returned after successfully creating a page. */ +/** The information returned after successfully creating a Page. */ @JsonPropertyOrder({ CreatePageResponseData.JSON_PROPERTY_ID, CreatePageResponseData.JSON_PROPERTY_TYPE @@ -47,7 +47,7 @@ public CreatePageResponseData id(String id) { } /** - * The unique ID of the created page. + * The unique ID of the created Page. * * @return id */ diff --git a/src/main/java/com/datadog/api/client/v2/model/RerouteOnCallPageRequestDataAttributes.java b/src/main/java/com/datadog/api/client/v2/model/RerouteOnCallPageRequestDataAttributes.java index fa51912eb7f..4f1e7c674ad 100644 --- a/src/main/java/com/datadog/api/client/v2/model/RerouteOnCallPageRequestDataAttributes.java +++ b/src/main/java/com/datadog/api/client/v2/model/RerouteOnCallPageRequestDataAttributes.java @@ -48,7 +48,7 @@ public RerouteOnCallPageRequestDataAttributes comment(String comment) { } /** - * An optional comment explaining why the page is being rerouted. + * An optional comment explaining why the Page is being rerouted. * * @return comment */ diff --git a/src/test/resources/com/datadog/api/client/v2/api/on-call_paging.feature b/src/test/resources/com/datadog/api/client/v2/api/on-call_paging.feature index 1a8b5a3b97c..05207f2df27 100644 --- a/src/test/resources/com/datadog/api/client/v2/api/on-call_paging.feature +++ b/src/test/resources/com/datadog/api/client/v2/api/on-call_paging.feature @@ -10,25 +10,25 @@ Feature: On-Call Paging And an instance of "On-CallPaging" API @generated @skip @team:ddoghq/on-call - Scenario: Acknowledge On-Call Page returns "Accepted." response + Scenario: Acknowledge On-Call Page returns "No Content." response Given new "AcknowledgeOnCallPage" request And request contains "page_id" parameter from "REPLACE.ME" When the request is sent - Then the response status is 202 Accepted. + Then the response status is 204 No Content. @generated @skip @team:ddoghq/on-call - Scenario: Create On-Call Page returns "OK." response + Scenario: Create On-Call Page returns "Created." response Given new "CreateOnCallPage" request And body with value {"data": {"attributes": {"description": "Page details.", "tags": ["service:test"], "target": {"identifier": "my-team", "type": "team_handle"}, "title": "Page title", "urgency": "low"}, "type": "pages"}} When the request is sent - Then the response status is 200 OK. + Then the response status is 201 Created. @generated @skip @team:ddoghq/on-call - Scenario: Escalate On-Call Page returns "Accepted." response + Scenario: Escalate On-Call Page returns "No Content." response Given new "EscalateOnCallPage" request And request contains "page_id" parameter from "REPLACE.ME" When the request is sent - Then the response status is 202 Accepted. + Then the response status is 204 No Content. @generated @skip @team:ddoghq/on-call Scenario: Reroute On-Call Page returns "Bad Request" response @@ -47,8 +47,8 @@ Feature: On-Call Paging Then the response status is 204 No Content. @generated @skip @team:ddoghq/on-call - Scenario: Resolve On-Call Page returns "Accepted." response + Scenario: Resolve On-Call Page returns "No Content." response Given new "ResolveOnCallPage" request And request contains "page_id" parameter from "REPLACE.ME" When the request is sent - Then the response status is 202 Accepted. + Then the response status is 204 No Content.