Skip to content

Commit 6ed77ae

Browse files
OAS Update
1 parent f1a5930 commit 6ed77ae

3 files changed

Lines changed: 30 additions & 12 deletions

File tree

services/postgres-flex/v3/postgres-flex.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,13 +1318,19 @@
13181318
"type": "integer"
13191319
},
13201320
"database.name": {
1321-
"description": "The name of the database.",
1322-
"example": "MyDatabase",
1321+
"description": "\"The name of the database.\"\n\"Database name must be 1–63 characters long, start with a lowercase letter or underscore, and contain only lowercase letters, numbers, or underscores.\"\n",
1322+
"example": "mydatabase",
1323+
"maxLength": 63,
1324+
"minLength": 1,
1325+
"pattern": "^[a-z_][a-z0-9_]*$",
13231326
"type": "string"
13241327
},
13251328
"database.name.opt": {
1326-
"description": "The name of the database.",
1327-
"example": "MyDatabase",
1329+
"description": "\"The name of the database.\"\n\"Database name must be 1–63 characters long, start with a lowercase letter or underscore, and contain only lowercase letters, numbers, or underscores.\"\n",
1330+
"example": "mydatabase",
1331+
"maxLength": 63,
1332+
"minLength": 1,
1333+
"pattern": "^[a-z_][a-z0-9_]*$",
13281334
"type": "string"
13291335
},
13301336
"database.owner": {

services/postgres-flex/v3alpha1/postgres-flex.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,13 +1222,19 @@
12221222
"type": "integer"
12231223
},
12241224
"database.name": {
1225-
"description": "The name of the database.",
1226-
"example": "MyDatabase",
1225+
"description": "\"The name of the database.\"\n\"Database name must be 1–63 characters long, start with a lowercase letter or underscore, and contain only lowercase letters, numbers, or underscores.\"\n",
1226+
"example": "mydatabase",
1227+
"maxLength": 63,
1228+
"minLength": 1,
1229+
"pattern": "^[a-z_][a-z0-9_]*$",
12271230
"type": "string"
12281231
},
12291232
"database.name.opt": {
1230-
"description": "The name of the database.",
1231-
"example": "MyDatabase",
1233+
"description": "\"The name of the database.\"\n\"Database name must be 1–63 characters long, start with a lowercase letter or underscore, and contain only lowercase letters, numbers, or underscores.\"\n",
1234+
"example": "mydatabase",
1235+
"maxLength": 63,
1236+
"minLength": 1,
1237+
"pattern": "^[a-z_][a-z0-9_]*$",
12321238
"type": "string"
12331239
},
12341240
"database.owner": {

services/postgres-flex/v3beta1/postgres-flex.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,13 +1320,19 @@
13201320
"type": "integer"
13211321
},
13221322
"database.name": {
1323-
"description": "The name of the database.",
1324-
"example": "MyDatabase",
1323+
"description": "\"The name of the database.\"\n\"Database name must be 1–63 characters long, start with a lowercase letter or underscore, and contain only lowercase letters, numbers, or underscores.\"\n",
1324+
"example": "mydatabase",
1325+
"maxLength": 63,
1326+
"minLength": 1,
1327+
"pattern": "^[a-z_][a-z0-9_]*$",
13251328
"type": "string"
13261329
},
13271330
"database.name.opt": {
1328-
"description": "The name of the database.",
1329-
"example": "MyDatabase",
1331+
"description": "\"The name of the database.\"\n\"Database name must be 1–63 characters long, start with a lowercase letter or underscore, and contain only lowercase letters, numbers, or underscores.\"\n",
1332+
"example": "mydatabase",
1333+
"maxLength": 63,
1334+
"minLength": 1,
1335+
"pattern": "^[a-z_][a-z0-9_]*$",
13301336
"type": "string"
13311337
},
13321338
"database.owner": {

0 commit comments

Comments
 (0)