Skip to content

Commit 698d90c

Browse files
feat(api): api update
1 parent f3caf01 commit 698d90c

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1793
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-46ae98ac058f8748b8ce2ff270c37edc601a9980f18cebe115f7df45974e7b9e.yml
3-
openapi_spec_hash: 48d63c6a54028125b8be56594f86f899
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3215c3ed5946a8ca7b39032c155f200362787d90d9f4be82df9c471b379c451b.yml
3+
openapi_spec_hash: 8ec2562cfbd4383c2767c3e16d63981c
44
config_hash: de4c81cee29cd7dd907279e8916b334f

internal/services/url_normalization_settings/data_source_schema.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ func DataSourceSchema(ctx context.Context) schema.Schema {
2121
Required: true,
2222
},
2323
"scope": schema.StringAttribute{
24-
Description: "The scope of the URL normalization.\nAvailable values: \"incoming\", \"both\".",
24+
Description: "The scope of the URL normalization.\nAvailable values: \"incoming\", \"both\", \"none\".",
2525
Computed: true,
2626
Validators: []validator.String{
27-
stringvalidator.OneOfCaseInsensitive("incoming", "both"),
27+
stringvalidator.OneOfCaseInsensitive(
28+
"incoming",
29+
"both",
30+
"none",
31+
),
2832
},
2933
},
3034
"type": schema.StringAttribute{

internal/services/url_normalization_settings/schema.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,14 @@ func ResourceSchema(ctx context.Context) schema.Schema {
2929
PlanModifiers: []planmodifier.String{stringplanmodifier.UseStateForUnknown(), stringplanmodifier.RequiresReplace()},
3030
},
3131
"scope": schema.StringAttribute{
32-
Description: "The scope of the URL normalization.\nAvailable values: \"incoming\", \"both\".",
32+
Description: "The scope of the URL normalization.\nAvailable values: \"incoming\", \"both\", \"none\".",
3333
Required: true,
3434
Validators: []validator.String{
35-
stringvalidator.OneOfCaseInsensitive("incoming", "both"),
35+
stringvalidator.OneOfCaseInsensitive(
36+
"incoming",
37+
"both",
38+
"none",
39+
),
3640
},
3741
},
3842
"type": schema.StringAttribute{

0 commit comments

Comments
 (0)