Skip to content

Commit 3ddc49a

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
and
ci.datadog-api-spec
authored
Remove javascript browser variable type (#506)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 2887a14 commit 3ddc49a

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-02-06 17:59:42.408810",
8-
"spec_repo_commit": "b89b292b"
7+
"regenerated": "2025-02-07 15:58:39.824016",
8+
"spec_repo_commit": "1ff7c087"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-06 17:59:42.424278",
13-
"spec_repo_commit": "b89b292b"
12+
"regenerated": "2025-02-07 15:58:39.839881",
13+
"spec_repo_commit": "1ff7c087"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -14988,15 +14988,13 @@ components:
1498814988
- element
1498914989
- email
1499014990
- global
14991-
- javascript
1499214991
- text
1499314992
example: text
1499414993
type: string
1499514994
x-enum-varnames:
1499614995
- ELEMENT
1499714996
- EMAIL
1499814997
- GLOBAL
14999-
- JAVASCRIPT
1500014998
- TEXT
1500114999
SyntheticsCIBatchMetadata:
1500215000
description: Metadata for the Synthetic tests run.

.generator/schemas/v2/openapi.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ components:
193193
schema:
194194
type: string
195195
ConfluentAccountID:
196-
description: Confluent Account id.
196+
description: Confluent Account ID.
197197
in: path
198198
name: account_id
199199
required: true

src/datadogV1/model/model_synthetics_browser_variable_type.rs

-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ pub enum SyntheticsBrowserVariableType {
1010
ELEMENT,
1111
EMAIL,
1212
GLOBAL,
13-
JAVASCRIPT,
1413
TEXT,
1514
UnparsedObject(crate::datadog::UnparsedObject),
1615
}
@@ -21,7 +20,6 @@ impl ToString for SyntheticsBrowserVariableType {
2120
Self::ELEMENT => String::from("element"),
2221
Self::EMAIL => String::from("email"),
2322
Self::GLOBAL => String::from("global"),
24-
Self::JAVASCRIPT => String::from("javascript"),
2523
Self::TEXT => String::from("text"),
2624
Self::UnparsedObject(v) => v.value.to_string(),
2725
}
@@ -50,7 +48,6 @@ impl<'de> Deserialize<'de> for SyntheticsBrowserVariableType {
5048
"element" => Self::ELEMENT,
5149
"email" => Self::EMAIL,
5250
"global" => Self::GLOBAL,
53-
"javascript" => Self::JAVASCRIPT,
5451
"text" => Self::TEXT,
5552
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
5653
value: serde_json::Value::String(s.into()),

0 commit comments

Comments
 (0)