Skip to content

Commit a3a1dd8

Browse files
OAS Update
1 parent 22bf5e7 commit a3a1dd8

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

services/edge/v1beta1/edge.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
{
22
"components": {
33
"schemas": {
4+
"CreateInstancePayload": {
5+
"properties": {
6+
"description": {
7+
"description": "A user chosen description to distinguish multiple instances.",
8+
"maxLength": 256,
9+
"type": "string"
10+
},
11+
"displayName": {
12+
"description": "The displayed name to distinguish multiple instances.",
13+
"format": "hostname",
14+
"maxLength": 8,
15+
"minLength": 4,
16+
"type": "string"
17+
},
18+
"planId": {
19+
"description": "Service Plan configures the size of the Instance.",
20+
"format": "uuid",
21+
"type": "string"
22+
}
23+
},
24+
"required": [
25+
"displayName",
26+
"planId"
27+
]
28+
},
429
"badRequest": {
530
"properties": {
631
"code": {
@@ -134,31 +159,6 @@
134159
},
135160
"type": "object"
136161
},
137-
"post-instancesPayload": {
138-
"properties": {
139-
"description": {
140-
"description": "A user chosen description to distinguish multiple instances.",
141-
"maxLength": 256,
142-
"type": "string"
143-
},
144-
"displayName": {
145-
"description": "The displayed name to distinguish multiple instances.",
146-
"format": "hostname",
147-
"maxLength": 8,
148-
"minLength": 4,
149-
"type": "string"
150-
},
151-
"planId": {
152-
"description": "Service Plan configures the size of the Instance.",
153-
"format": "uuid",
154-
"type": "string"
155-
}
156-
},
157-
"required": [
158-
"displayName",
159-
"planId"
160-
]
161-
},
162162
"token": {
163163
"properties": {
164164
"token": {
@@ -346,7 +346,7 @@
346346
"/v1beta1/projects/{projectId}/regions/{regionId}/instances": {
347347
"get": {
348348
"description": "Returns a list of all instances within the project.",
349-
"operationId": "get-instances",
349+
"operationId": "ListInstances",
350350
"responses": {
351351
"200": {
352352
"content": {
@@ -423,12 +423,12 @@
423423
],
424424
"post": {
425425
"description": "Creates a new instance within the project.",
426-
"operationId": "post-instances",
426+
"operationId": "CreateInstance",
427427
"requestBody": {
428428
"content": {
429429
"application/json": {
430430
"schema": {
431-
"$ref": "#/components/schemas/post-instancesPayload"
431+
"$ref": "#/components/schemas/CreateInstancePayload"
432432
}
433433
}
434434
},

0 commit comments

Comments
 (0)