Skip to content

Commit ea664d6

Browse files
Set groups and aliases properly for permissions (#83)
1 parent b798d83 commit ea664d6

File tree

1 file changed

+21
-5
lines changed

1 file changed

+21
-5
lines changed

airbyte-api.openapi.yaml

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,8 +1233,10 @@ paths:
12331233
description: "Not found"
12341234
"422":
12351235
description: "Data issue"
1236-
operationId: null
1236+
operationId: "getPermission"
12371237
summary: "Get Permission details"
1238+
x-speakeasy-alias: "getPermission"
1239+
x-speakeasy-group: "Permissions"
12381240
x-speakeasy-entity-operation: "Permission#read"
12391241
patch:
12401242
tags:
@@ -1262,8 +1264,10 @@ paths:
12621264
description: "Not found"
12631265
"422":
12641266
description: "Data issue"
1265-
operationId: null
1267+
operationId: "updatePermission"
12661268
summary: "Update a permission"
1269+
x-speakeasy-alias: "updatePermission"
1270+
x-speakeasy-group: "Permissions"
12671271
x-speakeasy-entity-operation: "Permission#update"
12681272
delete:
12691273
tags:
@@ -1279,7 +1283,9 @@ paths:
12791283
description: "Not found"
12801284
"422":
12811285
description: "Data issue"
1282-
operationId: null
1286+
operationId: "deletePermission"
1287+
x-speakeasy-alias: "deletePermission"
1288+
x-speakeasy-group: "Permissions"
12831289
summary: "Delete a Permission"
12841290
x-speakeasy-entity-operation: "Permission#delete"
12851291
/permissions:
@@ -1302,12 +1308,14 @@ paths:
13021308
application/json:
13031309
schema:
13041310
$ref: "#/components/schemas/PermissionsResponse"
1305-
description: "List Permissions by user id."
1311+
description: "List Permissions."
13061312
"403":
13071313
description: "Not allowed"
13081314
"404":
13091315
description: "Not found"
1310-
operationId: null
1316+
operationId: "listPermissions"
1317+
x-speakeasy-alias: "listPermissions"
1318+
x-speakeasy-group: "Permissions"
13111319
summary: "List Permissions by user id"
13121320
post:
13131321
tags:
@@ -1988,6 +1996,14 @@ components:
19881996
x-speakeasy-entity: "Permission"
19891997
x-speakeasy-param-suppress-computed-diff: true
19901998
x-speakeasy-component: true
1999+
PermissionScope:
2000+
description: "Scope of a single permission, e.g. workspace, organization"
2001+
type: "string"
2002+
enum:
2003+
- "workspace"
2004+
- "organization"
2005+
- "none"
2006+
x-speakeasy-component: true
19912007
PermissionResponseRead:
19922008
title: "Root type for PermissionResponseRead"
19932009
description: "Reformat PermissionResponse with permission scope"

0 commit comments

Comments
 (0)