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 5cb5395

Browse files
committedMar 13, 2025
feat(api): api update (#4012)
1 parent c183602 commit 5cb5395

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1607
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9566037032a1a8a0f3b6738beb772a1fb47b952610799ce49d8d11bfbd412bcb.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6c816cd91b03585d85f0a6f7fa80d121e74c3b6e9de1d79449652e840f25d3dc.yml

‎logpush/job.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ type OutputOptions struct {
347347
BatchSuffix string `json:"batch_suffix,nullable"`
348348
// If set to true, will cause all occurrences of `${` in the generated files to be
349349
// replaced with `x{`.
350-
Cve2021_4428 bool `json:"CVE-2021-4428,nullable"`
350+
Cve2021_44228 bool `json:"CVE-2021-44228,nullable"`
351351
// String to join fields. This field be ignored when `record_template` is set.
352352
FieldDelimiter string `json:"field_delimiter,nullable"`
353353
// List of field names to be included in the Logpush output. For the moment, there
@@ -382,7 +382,7 @@ type OutputOptions struct {
382382
type outputOptionsJSON struct {
383383
BatchPrefix apijson.Field
384384
BatchSuffix apijson.Field
385-
Cve2021_4428 apijson.Field
385+
Cve2021_44228 apijson.Field
386386
FieldDelimiter apijson.Field
387387
FieldNames apijson.Field
388388
OutputType apijson.Field
@@ -449,7 +449,7 @@ type OutputOptionsParam struct {
449449
BatchSuffix param.Field[string] `json:"batch_suffix"`
450450
// If set to true, will cause all occurrences of `${` in the generated files to be
451451
// replaced with `x{`.
452-
Cve2021_4428 param.Field[bool] `json:"CVE-2021-4428"`
452+
Cve2021_44228 param.Field[bool] `json:"CVE-2021-44228"`
453453
// String to join fields. This field be ignored when `record_template` is set.
454454
FieldDelimiter param.Field[string] `json:"field_delimiter"`
455455
// List of field names to be included in the Logpush output. For the moment, there

‎logpush/job_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func TestJobNewWithOptionalParams(t *testing.T) {
4343
OutputOptions: cloudflare.F(logpush.OutputOptionsParam{
4444
BatchPrefix: cloudflare.F("batch_prefix"),
4545
BatchSuffix: cloudflare.F("batch_suffix"),
46-
Cve2021_4428: cloudflare.F(true),
46+
Cve2021_44228: cloudflare.F(true),
4747
FieldDelimiter: cloudflare.F("field_delimiter"),
4848
FieldNames: cloudflare.F([]string{"ClientIP", "EdgeStartTimestamp", "RayID"}),
4949
OutputType: cloudflare.F(logpush.OutputOptionsOutputTypeNdjson),
@@ -96,7 +96,7 @@ func TestJobUpdateWithOptionalParams(t *testing.T) {
9696
OutputOptions: cloudflare.F(logpush.OutputOptionsParam{
9797
BatchPrefix: cloudflare.F("batch_prefix"),
9898
BatchSuffix: cloudflare.F("batch_suffix"),
99-
Cve2021_4428: cloudflare.F(true),
99+
Cve2021_44228: cloudflare.F(true),
100100
FieldDelimiter: cloudflare.F("field_delimiter"),
101101
FieldNames: cloudflare.F([]string{"ClientIP", "EdgeStartTimestamp", "RayID"}),
102102
OutputType: cloudflare.F(logpush.OutputOptionsOutputTypeNdjson),

0 commit comments

Comments
 (0)
Please sign in to comment.