Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove javascript browser variable type #506

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-06 17:59:42.408810",
"spec_repo_commit": "b89b292b"
"regenerated": "2025-02-07 15:58:39.824016",
"spec_repo_commit": "1ff7c087"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-02-06 17:59:42.424278",
"spec_repo_commit": "b89b292b"
"regenerated": "2025-02-07 15:58:39.839881",
"spec_repo_commit": "1ff7c087"
}
}
}
2 changes: 0 additions & 2 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14988,15 +14988,13 @@ components:
- element
- email
- global
- javascript
- text
example: text
type: string
x-enum-varnames:
- ELEMENT
- EMAIL
- GLOBAL
- JAVASCRIPT
- TEXT
SyntheticsCIBatchMetadata:
description: Metadata for the Synthetic tests run.
Expand Down
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ components:
schema:
type: string
ConfluentAccountID:
description: Confluent Account id.
description: Confluent Account ID.
in: path
name: account_id
required: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ pub enum SyntheticsBrowserVariableType {
ELEMENT,
EMAIL,
GLOBAL,
JAVASCRIPT,
TEXT,
UnparsedObject(crate::datadog::UnparsedObject),
}
Expand All @@ -21,7 +20,6 @@ impl ToString for SyntheticsBrowserVariableType {
Self::ELEMENT => String::from("element"),
Self::EMAIL => String::from("email"),
Self::GLOBAL => String::from("global"),
Self::JAVASCRIPT => String::from("javascript"),
Self::TEXT => String::from("text"),
Self::UnparsedObject(v) => v.value.to_string(),
}
Expand Down Expand Up @@ -50,7 +48,6 @@ impl<'de> Deserialize<'de> for SyntheticsBrowserVariableType {
"element" => Self::ELEMENT,
"email" => Self::EMAIL,
"global" => Self::GLOBAL,
"javascript" => Self::JAVASCRIPT,
"text" => Self::TEXT,
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
value: serde_json::Value::String(s.into()),
Expand Down
Loading