Skip to content

Commit f7b248d

Browse files
Generator: Update SDK /services/cdn (#10357)
* Generate cdn * chore(cdn): add changelogs
1 parent be6b4af commit f7b248d

32 files changed

Lines changed: 1774 additions & 80 deletions

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@
4545
- `v2api`:
4646
- **Fix:** Response decoding now supports `*io.Reader` and `*[]byte` target types (previously only `string`, `*os.File`, and JSON were supported)
4747
- **Fix:** Escape regex in validate tags of model structs correctly
48+
- `cdn`:
49+
- [v1.20.0](services/cdn/CHANGELOG.md#v1200)
50+
- `v1api`:
51+
- **Feature:** Add field `Labels` to models `Config`, `ConfigPatch` and `CreateDistributionPayload`
52+
- **Breaking Change:** `LogSink` fields changed to new polymorphic wrapper types: `ConfigLogSink`, `ConfigPatchLogSink`, `CreateDistributionPayloadLogSink`
53+
- **Fix:** Response decoding now supports `*io.Reader` and `*[]byte` target types (previously only `string`, `*os.File`, and JSON were supported)
54+
- `v1betaapi`:
55+
- **Breaking Change:** `Backend` and `LogSink` fields changed to new polymorphic wrapper types: `ConfigBackend`, `ConfigPatchBackend`, `ConfigLogSink`, `ConfigPatchLogSink`
56+
- **Fix:** Response decoding now supports `*io.Reader` and `*[]byte` target types (previously only `string`, `*os.File`, and JSON were supported)
57+
- **Fix:** Escape regex in validate tags of model structs correctly
58+
- `v1beta2api`:
59+
- **Breaking Change:** `LogSink` fields changed to new polymorphic wrapper types: `ConfigLogSink`, `ConfigPatchLogSink`
60+
- **Fix:** Response decoding now supports `*io.Reader` and `*[]byte` target types (previously only `string`, `*os.File`, and JSON were supported)
61+
- Deprecated SDK layer in root of the module:
62+
- **Feature:** Add field `Labels` to models `Config`, `ConfigPatch` and `CreateDistributionPayload`
4863
- `certificates`:
4964
- [v1.9.1](services/certificates/CHANGELOG.md#v191)
5065
- `v2api`

services/cdn/CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
## v1.20.0
2+
- `v1api`:
3+
- **Feature:** Add field `Labels` to models `Config`, `ConfigPatch` and `CreateDistributionPayload`
4+
- **Breaking Change:** `LogSink` fields changed to new polymorphic wrapper types: `ConfigLogSink`, `ConfigPatchLogSink`, `CreateDistributionPayloadLogSink`
5+
- **Fix:** Response decoding now supports `*io.Reader` and `*[]byte` target types (previously only `string`, `*os.File`, and JSON were supported)
6+
- `v1betaapi`:
7+
- **Breaking Change:** `Backend` and `LogSink` fields changed to new polymorphic wrapper types: `ConfigBackend`, `ConfigPatchBackend`, `ConfigLogSink`, `ConfigPatchLogSink`
8+
- **Fix:** Response decoding now supports `*io.Reader` and `*[]byte` target types (previously only `string`, `*os.File`, and JSON were supported)
9+
- **Fix:** Escape regex in validate tags of model structs correctly
10+
- `v1beta2api`:
11+
- **Breaking Change:** `LogSink` fields changed to new polymorphic wrapper types: `ConfigLogSink`, `ConfigPatchLogSink`
12+
- **Fix:** Response decoding now supports `*io.Reader` and `*[]byte` target types (previously only `string`, `*os.File`, and JSON were supported)
13+
- Deprecated SDK layer in root of the module:
14+
- **Feature:** Add field `Labels` to models `Config`, `ConfigPatch` and `CreateDistributionPayload`
15+
116
## v1.19.0
217
- `v1api`:
318
- **Improvement**: Represent available types of `HttpBackend`, `BucketBackend` and `LokiLogSink` with explicit enums instead of strings

services/cdn/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.19.0
1+
v1.20.0

services/cdn/model_config.go

Lines changed: 60 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/cdn/model_config_patch.go

Lines changed: 60 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/cdn/model_create_distribution_payload.go

Lines changed: 60 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

services/cdn/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d7306ee5d2400a8571c390a29df8ffd02428182f
1+
dba2b6e065de87745d57269c1eaba07e3833f709

services/cdn/v1api/client.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)