Skip to content

Commit ea731e9

Browse files
pull[bot]github-actions[bot]
authored andcommitted
feat: update mgmt api docs
1 parent f5c0a4c commit ea731e9

File tree

2 files changed

+86
-64
lines changed

2 files changed

+86
-64
lines changed

apps/docs/spec/api_v1_openapi.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,12 @@
314314
"operationId": "v1-get-a-snippet",
315315
"summary": "Gets a specific SQL snippet",
316316
"parameters": [
317-
{ "name": "id", "required": true, "in": "path", "schema": { "type": "uuid" } }
317+
{
318+
"name": "id",
319+
"required": true,
320+
"in": "path",
321+
"schema": { "format": "uuid", "type": "string" }
322+
}
318323
],
319324
"responses": {
320325
"200": {
@@ -2070,10 +2075,10 @@
20702075
"schema": { "type": "string" }
20712076
},
20722077
{
2073-
"name": "resource_multiplier",
2078+
"name": "compute_multiplier",
20742079
"required": false,
20752080
"in": "query",
2076-
"schema": { "type": "string" }
2081+
"schema": { "minimum": 1, "maximum": 4, "type": "number" }
20772082
}
20782083
],
20792084
"requestBody": {
@@ -2219,10 +2224,10 @@
22192224
"schema": { "type": "string" }
22202225
},
22212226
{
2222-
"name": "resource_multiplier",
2227+
"name": "compute_multiplier",
22232228
"required": false,
22242229
"in": "query",
2225-
"schema": { "type": "string" }
2230+
"schema": { "minimum": 1, "maximum": 4, "type": "number" }
22262231
}
22272232
],
22282233
"requestBody": {
@@ -2849,12 +2854,12 @@
28492854
},
28502855
"release_channel": {
28512856
"type": "string",
2852-
"enum": ["internal", "alpha", "beta", "ga", "withdrawn"],
2857+
"enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"],
28532858
"description": "Release channel. If not provided, GA will be used."
28542859
},
28552860
"postgres_engine": {
28562861
"type": "string",
2857-
"enum": ["15"],
2862+
"enum": ["15", "17-oriole"],
28582863
"description": "Postgres engine version. If not provided, the latest version will be used."
28592864
}
28602865
},
@@ -3087,12 +3092,12 @@
30873092
},
30883093
"ReleaseChannel": {
30893094
"type": "string",
3090-
"enum": ["internal", "alpha", "beta", "ga", "withdrawn"]
3095+
"enum": ["internal", "alpha", "beta", "ga", "withdrawn", "preview"]
30913096
},
30923097
"PostgresEngine": {
30933098
"type": "string",
30943099
"description": "Postgres engine version. If not provided, the latest version will be used.",
3095-
"enum": ["15"]
3100+
"enum": ["15", "17-oriole"]
30963101
},
30973102
"CreateBranchBody": {
30983103
"type": "object",
@@ -4246,7 +4251,7 @@
42464251
"name": { "type": "string" },
42474252
"body": { "type": "string" },
42484253
"verify_jwt": { "type": "boolean" },
4249-
"resource_multiplier": { "type": "string" }
4254+
"compute_multiplier": { "type": "number", "minimum": 1, "maximum": 4 }
42504255
},
42514256
"required": ["slug", "name", "body"]
42524257
},
@@ -4264,7 +4269,7 @@
42644269
"import_map": { "type": "boolean" },
42654270
"entrypoint_path": { "type": "string" },
42664271
"import_map_path": { "type": "string" },
4267-
"resource_multiplier": { "type": "string" }
4272+
"compute_multiplier": { "type": "number" }
42684273
},
42694274
"required": ["version", "created_at", "updated_at", "id", "slug", "name", "status"]
42704275
},
@@ -4282,7 +4287,7 @@
42824287
"import_map": { "type": "boolean" },
42834288
"entrypoint_path": { "type": "string" },
42844289
"import_map_path": { "type": "string" },
4285-
"resource_multiplier": { "type": "string" }
4290+
"compute_multiplier": { "type": "number" }
42864291
},
42874292
"required": ["version", "created_at", "updated_at", "id", "slug", "name", "status"]
42884293
},
@@ -4292,7 +4297,7 @@
42924297
"name": { "type": "string" },
42934298
"body": { "type": "string" },
42944299
"verify_jwt": { "type": "boolean" },
4295-
"resource_multiplier": { "type": "string" }
4300+
"compute_multiplier": { "type": "number", "minimum": 1, "maximum": 4 }
42964301
}
42974302
},
42984303
"V1StorageBucketResponse": {

0 commit comments

Comments
 (0)