From 12af285ca21874205a10d1a5b764ece60f10b2b7 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 21 Aug 2026 19:32:04 +0000 Subject: [PATCH] Regenerate client from commit 48d645b of spec repo --- .generator/schemas/v2/openapi.yaml | 25 +++++++++++-------- src/datadogV2/model/model_annotation.rs | 8 +++--- .../model/model_annotation_display.rs | 4 +-- .../model/model_annotation_display_bounds.rs | 10 ++++---- ...del_annotation_markdown_text_annotation.rs | 4 +-- src/datadogV2/model/model_spec.rs | 2 +- 6 files changed, 28 insertions(+), 25 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 9e31333a3d..8e49136efa 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -7199,13 +7199,14 @@ components: - fixes type: object Annotation: - description: "A list of annotations used in the workflow. These are like sticky notes for your workflow!" + description: A text annotation displayed on the workflow canvas. properties: display: $ref: "#/components/schemas/AnnotationDisplay" id: - description: The `Annotation` `id`. + description: The unique identifier of this annotation within the workflow. example: "" + minLength: 1 type: string markdownTextAnnotation: $ref: "#/components/schemas/AnnotationMarkdownTextAnnotation" @@ -7362,28 +7363,28 @@ components: - attributes type: object AnnotationDisplay: - description: The definition of `AnnotationDisplay` object. + description: The annotation's position and size on the workflow canvas. properties: bounds: $ref: "#/components/schemas/AnnotationDisplayBounds" type: object AnnotationDisplayBounds: - description: The definition of `AnnotationDisplayBounds` object. + description: Canvas coordinates and dimensions for an annotation on the workflow canvas. properties: height: - description: The `bounds` `height`. + description: The annotation's height on the canvas. format: double type: number width: - description: The `bounds` `width`. + description: The annotation's width on the canvas. format: double type: number x: - description: The `bounds` `x`. + description: The annotation's horizontal canvas coordinate. format: double type: number y: - description: The `bounds` `y`. + description: The annotation's vertical canvas coordinate. format: double type: number type: object @@ -7467,10 +7468,11 @@ components: - POINT_IN_TIME - TIME_REGION AnnotationMarkdownTextAnnotation: - description: The definition of `AnnotationMarkdownTextAnnotation` object. + description: Markdown content displayed in an annotation. properties: text: - description: The `markdownTextAnnotation` `text`. + description: The annotation's Markdown content. + maxLength: 3000 type: string type: object AnnotationRequestData: @@ -107302,9 +107304,10 @@ components: description: A complete Workflow Automation definition, including its triggers, steps, and connections. properties: annotations: - description: "A list of annotations used in the workflow. These are like sticky notes for your workflow!" + description: Up to 100 text annotations displayed on the workflow canvas. items: $ref: "#/components/schemas/Annotation" + maxItems: 100 type: array connectionEnvs: description: A list of connections or connection groups used in the workflow. diff --git a/src/datadogV2/model/model_annotation.rs b/src/datadogV2/model/model_annotation.rs index 04469bfb29..882bc6f55c 100644 --- a/src/datadogV2/model/model_annotation.rs +++ b/src/datadogV2/model/model_annotation.rs @@ -6,18 +6,18 @@ use serde::{Deserialize, Deserializer, Serialize}; use serde_with::skip_serializing_none; use std::fmt::{self, Formatter}; -/// A list of annotations used in the workflow. These are like sticky notes for your workflow! +/// A text annotation displayed on the workflow canvas. #[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize)] pub struct Annotation { - /// The definition of `AnnotationDisplay` object. + /// The annotation's position and size on the workflow canvas. #[serde(rename = "display")] pub display: crate::datadogV2::model::AnnotationDisplay, - /// The `Annotation` `id`. + /// The unique identifier of this annotation within the workflow. #[serde(rename = "id")] pub id: String, - /// The definition of `AnnotationMarkdownTextAnnotation` object. + /// Markdown content displayed in an annotation. #[serde(rename = "markdownTextAnnotation")] pub markdown_text_annotation: crate::datadogV2::model::AnnotationMarkdownTextAnnotation, #[serde(flatten)] diff --git a/src/datadogV2/model/model_annotation_display.rs b/src/datadogV2/model/model_annotation_display.rs index d8084780ca..fcab2455e1 100644 --- a/src/datadogV2/model/model_annotation_display.rs +++ b/src/datadogV2/model/model_annotation_display.rs @@ -6,12 +6,12 @@ use serde::{Deserialize, Deserializer, Serialize}; use serde_with::skip_serializing_none; use std::fmt::{self, Formatter}; -/// The definition of `AnnotationDisplay` object. +/// The annotation's position and size on the workflow canvas. #[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize)] pub struct AnnotationDisplay { - /// The definition of `AnnotationDisplayBounds` object. + /// Canvas coordinates and dimensions for an annotation on the workflow canvas. #[serde(rename = "bounds")] pub bounds: Option, #[serde(flatten)] diff --git a/src/datadogV2/model/model_annotation_display_bounds.rs b/src/datadogV2/model/model_annotation_display_bounds.rs index 8fc01d4281..b058eefab7 100644 --- a/src/datadogV2/model/model_annotation_display_bounds.rs +++ b/src/datadogV2/model/model_annotation_display_bounds.rs @@ -6,21 +6,21 @@ use serde::{Deserialize, Deserializer, Serialize}; use serde_with::skip_serializing_none; use std::fmt::{self, Formatter}; -/// The definition of `AnnotationDisplayBounds` object. +/// Canvas coordinates and dimensions for an annotation on the workflow canvas. #[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize)] pub struct AnnotationDisplayBounds { - /// The `bounds` `height`. + /// The annotation's height on the canvas. #[serde(rename = "height")] pub height: Option, - /// The `bounds` `width`. + /// The annotation's width on the canvas. #[serde(rename = "width")] pub width: Option, - /// The `bounds` `x`. + /// The annotation's horizontal canvas coordinate. #[serde(rename = "x")] pub x: Option, - /// The `bounds` `y`. + /// The annotation's vertical canvas coordinate. #[serde(rename = "y")] pub y: Option, #[serde(flatten)] diff --git a/src/datadogV2/model/model_annotation_markdown_text_annotation.rs b/src/datadogV2/model/model_annotation_markdown_text_annotation.rs index 494728d88f..1f62b786a5 100644 --- a/src/datadogV2/model/model_annotation_markdown_text_annotation.rs +++ b/src/datadogV2/model/model_annotation_markdown_text_annotation.rs @@ -6,12 +6,12 @@ use serde::{Deserialize, Deserializer, Serialize}; use serde_with::skip_serializing_none; use std::fmt::{self, Formatter}; -/// The definition of `AnnotationMarkdownTextAnnotation` object. +/// Markdown content displayed in an annotation. #[non_exhaustive] #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize)] pub struct AnnotationMarkdownTextAnnotation { - /// The `markdownTextAnnotation` `text`. + /// The annotation's Markdown content. #[serde(rename = "text")] pub text: Option, #[serde(flatten)] diff --git a/src/datadogV2/model/model_spec.rs b/src/datadogV2/model/model_spec.rs index d331c97107..8029858d64 100644 --- a/src/datadogV2/model/model_spec.rs +++ b/src/datadogV2/model/model_spec.rs @@ -11,7 +11,7 @@ use std::fmt::{self, Formatter}; #[skip_serializing_none] #[derive(Clone, Debug, PartialEq, Serialize)] pub struct Spec { - /// A list of annotations used in the workflow. These are like sticky notes for your workflow! + /// Up to 100 text annotations displayed on the workflow canvas. #[serde(rename = "annotations")] pub annotations: Option>, /// A list of connections or connection groups used in the workflow.