Skip to content

Commit 80d2e9a

Browse files
OAS Update
1 parent 5d4ad01 commit 80d2e9a

File tree

1 file changed

+30
-29
lines changed

1 file changed

+30
-29
lines changed

services/cdn/v1beta/cdn.json

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"components": {
33
"schemas": {
44
"Config": {
5-
"additionalProperties": false,
65
"properties": {
76
"backend": {
87
"discriminator": {
@@ -41,6 +40,9 @@
4140
"type": "integer",
4241
"x-go-type": "uint64"
4342
},
43+
"optimizer": {
44+
"$ref": "#/components/schemas/Optimizer"
45+
},
4446
"regions": {
4547
"items": {
4648
"$ref": "#/components/schemas/Region"
@@ -59,7 +61,6 @@
5961
"type": "object"
6062
},
6163
"ConfigPatch": {
62-
"additionalProperties": false,
6364
"properties": {
6465
"backend": {
6566
"discriminator": {
@@ -98,6 +99,9 @@
9899
"type": "integer",
99100
"x-go-type": "uint64"
100101
},
102+
"optimizer": {
103+
"$ref": "#/components/schemas/OptimizerPatch"
104+
},
101105
"regions": {
102106
"items": {
103107
"$ref": "#/components/schemas/Region"
@@ -110,7 +114,6 @@
110114
"type": "object"
111115
},
112116
"CreateDistributionPayload": {
113-
"additionalProperties": false,
114117
"properties": {
115118
"blockedCountries": {
116119
"description": "Restricts access to your content based on country. \nWe use the ISO 3166-1 alpha-2 standard for country codes (e.g., DE, ES, GB). \nThis setting blocks users from the specified countries.\n",
@@ -139,6 +142,9 @@
139142
"type": "integer",
140143
"x-go-type": "uint64"
141144
},
145+
"optimizer": {
146+
"$ref": "#/components/schemas/Optimizer"
147+
},
142148
"originRequestHeaders": {
143149
"additionalProperties": {
144150
"type": "string"
@@ -168,7 +174,6 @@
168174
"type": "object"
169175
},
170176
"CreateDistributionResponse": {
171-
"additionalProperties": false,
172177
"properties": {
173178
"distribution": {
174179
"$ref": "#/components/schemas/Distribution"
@@ -180,7 +185,6 @@
180185
"type": "object"
181186
},
182187
"CustomDomain": {
183-
"additionalProperties": false,
184188
"description": "Definition of a custom domain",
185189
"properties": {
186190
"errors": {
@@ -207,7 +211,6 @@
207211
"type": "object"
208212
},
209213
"DeleteCustomDomainResponse": {
210-
"additionalProperties": false,
211214
"description": "Returns the custom domain that was deleted while the deletion has not completed yet. After the deletion was successful the response will be empty.",
212215
"properties": {
213216
"customDomain": {
@@ -217,7 +220,6 @@
217220
"type": "object"
218221
},
219222
"DeleteDistributionResponse": {
220-
"additionalProperties": false,
221223
"properties": {
222224
"distribution": {
223225
"$ref": "#/components/schemas/Distribution"
@@ -226,7 +228,6 @@
226228
"type": "object"
227229
},
228230
"Distribution": {
229-
"additionalProperties": false,
230231
"properties": {
231232
"config": {
232233
"$ref": "#/components/schemas/Config"
@@ -431,7 +432,6 @@
431432
"type": "object"
432433
},
433434
"Domain": {
434-
"additionalProperties": false,
435435
"description": "Definition of a custom or managed domain without any certificates or keys",
436436
"properties": {
437437
"errors": {
@@ -478,7 +478,6 @@
478478
"type": "string"
479479
},
480480
"ErrorDetails": {
481-
"additionalProperties": false,
482481
"properties": {
483482
"de": {
484483
"description": "German description of the error",
@@ -518,7 +517,6 @@
518517
"type": "object"
519518
},
520519
"FindCachePathsResponse": {
521-
"additionalProperties": false,
522520
"properties": {
523521
"response": {
524522
"items": {
@@ -534,7 +532,6 @@
534532
"type": "object"
535533
},
536534
"FindCachePathsResponseEntry": {
537-
"additionalProperties": false,
538535
"properties": {
539536
"path": {
540537
"description": "Defines one path that was previously used as part of a granular purge",
@@ -548,7 +545,6 @@
548545
"type": "object"
549546
},
550547
"GenericJSONResponse": {
551-
"additionalProperties": false,
552548
"properties": {
553549
"details": {
554550
"description": "Listing of issues with your request",
@@ -569,7 +565,6 @@
569565
"type": "object"
570566
},
571567
"GetCacheInfoResponse": {
572-
"additionalProperties": false,
573568
"properties": {
574569
"history": {
575570
"items": {
@@ -592,7 +587,6 @@
592587
"type": "object"
593588
},
594589
"GetCacheInfoResponseHistoryEntry": {
595-
"additionalProperties": false,
596590
"properties": {
597591
"occuredAt": {
598592
"deprecated": true,
@@ -619,7 +613,6 @@
619613
"type": "object"
620614
},
621615
"GetCustomDomainResponse": {
622-
"additionalProperties": false,
623616
"properties": {
624617
"customDomain": {
625618
"$ref": "#/components/schemas/CustomDomain"
@@ -638,7 +631,6 @@
638631
"type": "object"
639632
},
640633
"GetDistributionResponse": {
641-
"additionalProperties": false,
642634
"properties": {
643635
"distribution": {
644636
"$ref": "#/components/schemas/Distribution"
@@ -650,7 +642,6 @@
650642
"type": "object"
651643
},
652644
"GetLogsResponse": {
653-
"additionalProperties": false,
654645
"properties": {
655646
"logs": {
656647
"items": {
@@ -667,7 +658,6 @@
667658
]
668659
},
669660
"GetStatisticsResponse": {
670-
"additionalProperties": false,
671661
"properties": {
672662
"records": {
673663
"items": {
@@ -681,7 +671,6 @@
681671
]
682672
},
683673
"HttpBackend": {
684-
"additionalProperties": false,
685674
"properties": {
686675
"originRequestHeaders": {
687676
"additionalProperties": {
@@ -705,7 +694,6 @@
705694
"type": "object"
706695
},
707696
"HttpBackendPatch": {
708-
"additionalProperties": false,
709697
"description": "A partial HTTP Backend",
710698
"properties": {
711699
"originRequestHeaders": {
@@ -730,7 +718,6 @@
730718
"type": "object"
731719
},
732720
"ListDistributionsResponse": {
733-
"additionalProperties": false,
734721
"properties": {
735722
"distributions": {
736723
"items": {
@@ -747,8 +734,28 @@
747734
],
748735
"type": "object"
749736
},
737+
"Optimizer": {
738+
"description": "Optimizer is paid feature, a real-time on the fly image manipulation and optimization service that automatically optimizes your images for faster image delivery.\n",
739+
"properties": {
740+
"enabled": {
741+
"description": "Determines if the optimizer should be enabled for this distribution and incurs a monthly fee",
742+
"type": "boolean"
743+
}
744+
},
745+
"required": [
746+
"enabled"
747+
],
748+
"type": "object"
749+
},
750+
"OptimizerPatch": {
751+
"properties": {
752+
"enabled": {
753+
"type": "boolean"
754+
}
755+
},
756+
"type": "object"
757+
},
750758
"PatchDistributionPayload": {
751-
"additionalProperties": false,
752759
"description": "Defines a partial distribution. Set values ",
753760
"properties": {
754761
"config": {
@@ -762,7 +769,6 @@
762769
"type": "object"
763770
},
764771
"PatchDistributionResponse": {
765-
"additionalProperties": false,
766772
"properties": {
767773
"distribution": {
768774
"$ref": "#/components/schemas/Distribution"
@@ -774,7 +780,6 @@
774780
"type": "object"
775781
},
776782
"PurgeCachePayload": {
777-
"additionalProperties": false,
778783
"properties": {
779784
"path": {
780785
"description": "Defines an optional path. If this is set, a granular purge is done. If missing, the entire cache is invalidated. \nDuring a granular cache purge, only the provided path is purged. \n\nPlease do not that for example `/some/path` and `/some/path.txt` are considered different paths.\n",
@@ -784,11 +789,9 @@
784789
"type": "object"
785790
},
786791
"PurgeCacheResponse": {
787-
"additionalProperties": false,
788792
"type": "object"
789793
},
790794
"PutCustomDomainPayload": {
791-
"additionalProperties": false,
792795
"properties": {
793796
"intentId": {
794797
"description": "While optional, it is greatly encouraged to provide an `intentId`. \nThis is used to deduplicate requests. \nIf multiple modifying Requests with the same `intentId` for a given `projectId` are received, all but the first request are dropped.\n",
@@ -798,7 +801,6 @@
798801
"type": "object"
799802
},
800803
"PutCustomDomainResponse": {
801-
"additionalProperties": false,
802804
"properties": {
803805
"customDomain": {
804806
"$ref": "#/components/schemas/CustomDomain"
@@ -829,7 +831,6 @@
829831
"type": "string"
830832
},
831833
"StatusError": {
832-
"additionalProperties": false,
833834
"properties": {
834835
"de": {
835836
"description": "A german translation string corresponding to the error key. Note that we do not guarantee german translations are present.",

0 commit comments

Comments
 (0)