Skip to content

Commit 9a0560e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6832d799 of spec repo
1 parent 0885056 commit 9a0560e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
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-03-25 18:26:27.178711",
8-
"spec_repo_commit": "b25d7c85"
7+
"regenerated": "2025-03-26 19:23:01.177822",
8+
"spec_repo_commit": "6832d799"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-03-25 18:26:27.193950",
13-
"spec_repo_commit": "b25d7c85"
12+
"regenerated": "2025-03-26 19:23:01.195442",
13+
"spec_repo_commit": "6832d799"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2864,13 +2864,13 @@ components:
28642864
enum:
28652865
- attack_attempt
28662866
- business_logic
2867-
- security_responses
2867+
- security_response
28682868
example: business_logic
28692869
type: string
28702870
x-enum-varnames:
28712871
- ATTACK_ATTEMPT
28722872
- BUSINESS_LOGIC
2873-
- SECURITY_RESPONSES
2873+
- SECURITY_RESPONSE
28742874
ApplicationSecurityWafCustomRuleType:
28752875
default: custom_rule
28762876
description: The type of the resource. The value should always be `custom_rule`.

src/datadogV2/model/model_application_security_waf_custom_rule_tags_category.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};
99
pub enum ApplicationSecurityWafCustomRuleTagsCategory {
1010
ATTACK_ATTEMPT,
1111
BUSINESS_LOGIC,
12-
SECURITY_RESPONSES,
12+
SECURITY_RESPONSE,
1313
UnparsedObject(crate::datadog::UnparsedObject),
1414
}
1515

@@ -18,7 +18,7 @@ impl ToString for ApplicationSecurityWafCustomRuleTagsCategory {
1818
match self {
1919
Self::ATTACK_ATTEMPT => String::from("attack_attempt"),
2020
Self::BUSINESS_LOGIC => String::from("business_logic"),
21-
Self::SECURITY_RESPONSES => String::from("security_responses"),
21+
Self::SECURITY_RESPONSE => String::from("security_response"),
2222
Self::UnparsedObject(v) => v.value.to_string(),
2323
}
2424
}
@@ -45,7 +45,7 @@ impl<'de> Deserialize<'de> for ApplicationSecurityWafCustomRuleTagsCategory {
4545
Ok(match s.as_str() {
4646
"attack_attempt" => Self::ATTACK_ATTEMPT,
4747
"business_logic" => Self::BUSINESS_LOGIC,
48-
"security_responses" => Self::SECURITY_RESPONSES,
48+
"security_response" => Self::SECURITY_RESPONSE,
4949
_ => Self::UnparsedObject(crate::datadog::UnparsedObject {
5050
value: serde_json::Value::String(s.into()),
5151
}),

0 commit comments

Comments
 (0)