Skip to content

Commit 454fb28

Browse files
OAS Update
1 parent ed3d48b commit 454fb28

File tree

1 file changed

+78
-4
lines changed

1 file changed

+78
-4
lines changed

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

Lines changed: 78 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,34 @@
2828
},
2929
"type": "object"
3030
},
31+
"instance.CreateDatabaseRequest": {
32+
"properties": {
33+
"collation": {
34+
"example": "SQL_Latin1_General_CP1_CI_AS",
35+
"type": "string"
36+
},
37+
"name": {
38+
"example": "Test",
39+
"type": "string"
40+
},
41+
"options": {
42+
"additionalProperties": {
43+
"type": "string"
44+
},
45+
"description": "Database specific options",
46+
"type": "object"
47+
}
48+
},
49+
"type": "object"
50+
},
51+
"instance.CreateDatabaseResponse": {
52+
"properties": {
53+
"database": {
54+
"$ref": "#/components/schemas/instance.Database"
55+
}
56+
},
57+
"type": "object"
58+
},
3159
"instance.DataPoint": {
3260
"properties": {
3361
"timestamp": {
@@ -39,6 +67,31 @@
3967
},
4068
"type": "object"
4169
},
70+
"instance.Database": {
71+
"properties": {
72+
"collation": {
73+
"example": "SQL_Latin1_General_CP1_CI_AS",
74+
"type": "string"
75+
},
76+
"createDate": {
77+
"example": "2003-04-08T09:13:36.39Z",
78+
"type": "string"
79+
},
80+
"id": {
81+
"example": "1",
82+
"type": "string"
83+
},
84+
"name": {
85+
"example": "Peter_pan",
86+
"type": "string"
87+
},
88+
"options": {
89+
"description": "Database specific options",
90+
"type": "object"
91+
}
92+
},
93+
"type": "object"
94+
},
4295
"instance.Host": {
4396
"properties": {
4497
"hostMetrics": {
@@ -70,6 +123,17 @@
70123
},
71124
"type": "object"
72125
},
126+
"instance.ListDatabasesResponse": {
127+
"properties": {
128+
"databases": {
129+
"items": {
130+
"$ref": "#/components/schemas/instance.Database"
131+
},
132+
"type": "array"
133+
}
134+
},
135+
"type": "object"
136+
},
73137
"instance.ListInstance": {
74138
"properties": {
75139
"id": {
@@ -97,7 +161,7 @@
97161
},
98162
"type": "object"
99163
},
100-
"instance.UpdateUserRequest": {
164+
"instance.PartialUpdateUserRequest": {
101165
"properties": {
102166
"database": {
103167
"type": "string"
@@ -128,7 +192,7 @@
128192
"additionalProperties": {
129193
"type": "string"
130194
},
131-
"description": "Following fields are not certain/clear",
195+
"description": "Labels field is not certain/clear",
132196
"type": "object"
133197
},
134198
"name": {
@@ -153,7 +217,14 @@
153217
}
154218
},
155219
"required": [
156-
"acl"
220+
"acl",
221+
"backupSchedule",
222+
"flavorId",
223+
"name",
224+
"options",
225+
"replicas",
226+
"storage",
227+
"version"
157228
],
158229
"type": "object"
159230
},
@@ -174,7 +245,7 @@
174245
"additionalProperties": {
175246
"type": "string"
176247
},
177-
"description": "Following fields are not certain/clear",
248+
"description": "Labels field is not certain/clear",
178249
"type": "object"
179250
},
180251
"name": {
@@ -207,6 +278,9 @@
207278
"type": "string"
208279
}
209280
},
281+
"required": [
282+
"backupSchedule"
283+
],
210284
"type": "object"
211285
},
212286
"CreateUserPayload": {

0 commit comments

Comments
 (0)