Skip to content

Commit 42af200

Browse files
OAS Update
1 parent 79b79e1 commit 42af200

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

services/postgres-flex/v1/postgres-flex.json

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
"type": "integer"
417417
},
418418
"storage": {
419-
"$ref": "#/components/schemas/Storage"
419+
"$ref": "#/components/schemas/StorageUpdate"
420420
},
421421
"version": {
422422
"example": "1.0",
@@ -461,8 +461,7 @@
461461
"type": "string"
462462
},
463463
"size": {
464-
"example": 10,
465-
"type": "integer"
464+
"$ref": "#/components/schemas/instance.StorageSize"
466465
}
467466
},
468467
"type": "object"
@@ -480,6 +479,20 @@
480479
},
481480
"type": "object"
482481
},
482+
"StorageUpdate": {
483+
"properties": {
484+
"class": {
485+
"deprecated": true,
486+
"description": "\n⚠️ **DEPRECATED AND NON-FUNCTIONAL:** Updating the performance class field is not possible.\n",
487+
"type": "string",
488+
"x-deprecation-reason": "Never worked correctly"
489+
},
490+
"size": {
491+
"$ref": "#/components/schemas/instance.StorageSize"
492+
}
493+
},
494+
"type": "object"
495+
},
483496
"UpdateBackupSchedulePayload": {
484497
"properties": {
485498
"backupSchedule": {
@@ -526,7 +539,7 @@
526539
"type": "integer"
527540
},
528541
"storage": {
529-
"$ref": "#/components/schemas/Storage"
542+
"$ref": "#/components/schemas/StorageUpdate"
530543
},
531544
"version": {
532545
"example": "1.0",
@@ -826,6 +839,11 @@
826839
},
827840
"type": "object"
828841
},
842+
"instance.StorageSize": {
843+
"example": 10,
844+
"format": "int64",
845+
"type": "integer"
846+
},
829847
"postgres.DatabaseParameter": {
830848
"properties": {
831849
"context": {

0 commit comments

Comments
 (0)