Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9ca6737

Browse files
committedMar 20, 2025
feat(api): api update (#5356)
1 parent 0fb620e commit 9ca6737

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1655
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7c7281b5c4300f73c7afe4290abb624d80bbd16d799d4abfeb057f9ea5e9afd0.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4b061435b9d0bfa9f8d240448ac05a8b5279b617e2e9a94f83b12330caaf3b20.yml

‎internal/services/api_shield_discovery_operation/list_data_source_schema.go

+11-3
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ func ListDataSourceSchema(ctx context.Context) schema.Schema {
5454
},
5555
},
5656
"origin": schema.StringAttribute{
57-
Description: "Filter results to only include discovery results sourced from a particular discovery engine\n * `ML` - Discovered operations that were sourced using ML API Discovery\n * `SessionIdentifier` - Discovered operations that were sourced using Session Identifier API Discovery\nAvailable values: \"ML\", \"SessionIdentifier\".",
57+
Description: "Filter results to only include discovery results sourced from a particular discovery engine\n * `ML` - Discovered operations that were sourced using ML API Discovery\n * `SessionIdentifier` - Discovered operations that were sourced using Session Identifier API Discovery\nAvailable values: \"ML\", \"SessionIdentifier\", \"LabelDiscovery\".",
5858
Optional: true,
5959
Validators: []validator.String{
60-
stringvalidator.OneOfCaseInsensitive("ML", "SessionIdentifier"),
60+
stringvalidator.OneOfCaseInsensitive(
61+
"ML",
62+
"SessionIdentifier",
63+
"LabelDiscovery",
64+
),
6165
},
6266
},
6367
"state": schema.StringAttribute{
@@ -132,7 +136,11 @@ func ListDataSourceSchema(ctx context.Context) schema.Schema {
132136
Computed: true,
133137
Validators: []validator.List{
134138
listvalidator.ValueStringsAre(
135-
stringvalidator.OneOfCaseInsensitive("ML", "SessionIdentifier"),
139+
stringvalidator.OneOfCaseInsensitive(
140+
"ML",
141+
"SessionIdentifier",
142+
"LabelDiscovery",
143+
),
136144
),
137145
},
138146
CustomType: customfield.NewListType[types.String](ctx),

0 commit comments

Comments
 (0)
Please sign in to comment.