Skip to content

Commit 00d5a02

Browse files
OAS Update
1 parent 42af200 commit 00d5a02

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

services/postgres-flex/v2/postgres-flex.json

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@
427427
"type": "integer"
428428
},
429429
"storage": {
430-
"$ref": "#/components/schemas/Storage"
430+
"$ref": "#/components/schemas/StorageUpdate"
431431
},
432432
"version": {
433433
"example": "1.0",
@@ -472,9 +472,7 @@
472472
"type": "string"
473473
},
474474
"size": {
475-
"example": 10,
476-
"format": "int64",
477-
"type": "integer"
475+
"$ref": "#/components/schemas/instance.StorageSize"
478476
}
479477
},
480478
"type": "object"
@@ -494,6 +492,20 @@
494492
},
495493
"type": "object"
496494
},
495+
"StorageUpdate": {
496+
"properties": {
497+
"class": {
498+
"deprecated": true,
499+
"description": "\n⚠️ **DEPRECATED AND NON-FUNCTIONAL:** Updating the performance class field is not possible.\n",
500+
"type": "string",
501+
"x-deprecation-reason": "Never worked correctly"
502+
},
503+
"size": {
504+
"$ref": "#/components/schemas/instance.StorageSize"
505+
}
506+
},
507+
"type": "object"
508+
},
497509
"UpdateBackupSchedulePayload": {
498510
"properties": {
499511
"backupSchedule": {
@@ -541,7 +553,7 @@
541553
"type": "integer"
542554
},
543555
"storage": {
544-
"$ref": "#/components/schemas/Storage"
556+
"$ref": "#/components/schemas/StorageUpdate"
545557
},
546558
"version": {
547559
"example": "1.0",
@@ -844,6 +856,11 @@
844856
},
845857
"type": "object"
846858
},
859+
"instance.StorageSize": {
860+
"example": 10,
861+
"format": "int64",
862+
"type": "integer"
863+
},
847864
"postgres.DatabaseParameter": {
848865
"properties": {
849866
"context": {

0 commit comments

Comments
 (0)