Skip to content

Commit 5acb1d2

Browse files
authored
feat(sdk): automated oas update
1 parent a339f3f commit 5acb1d2

2 files changed

Lines changed: 77 additions & 14 deletions

File tree

api-specs/konnect/dev-portal/v3/openapi.yaml

Lines changed: 49 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
openapi: 3.0.3
22
info:
33
title: Portal API
4-
version: 3.3.2
4+
version: 3.3.3
55
description: Portal API
66
contact:
77
name: Kong
88
url: 'https://cloud.konghq.com'
9-
x-oas-source: kong/platform-api@b86de17dd121406f9a94d62b1ca4bd412d216992
10-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/b86de17dd121406f9a94d62b1ca4bd412d216992'
9+
x-oas-source: kong/platform-api@1f49f503deacae7f5c273d918393c1bcb44df6f2
10+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/1f49f503deacae7f5c273d918393c1bcb44df6f2'
1111
servers:
1212
- url: 'https://custom.example.com'
1313
description: Production
@@ -332,6 +332,10 @@ paths:
332332
- $ref: '#/components/parameters/FilterByNameContains'
333333
- $ref: '#/components/parameters/FilterByAuthStrategyEquality'
334334
- $ref: '#/components/parameters/FilterByAuthStrategyEqualityShort'
335+
- $ref: '#/components/parameters/FilterByTeamIdEquality'
336+
- $ref: '#/components/parameters/FilterByTeamIdEqualityShort'
337+
- $ref: '#/components/parameters/FilterByTeamIdNotEquals'
338+
- $ref: '#/components/parameters/FilterByTeamIdOneOf'
335339
responses:
336340
'200':
337341
$ref: '#/components/responses/ListApplications'
@@ -1332,6 +1336,48 @@ components:
13321336
- pending
13331337
- rejected
13341338
- revoked
1339+
FilterByTeamIdEquality:
1340+
name: 'filter[team_id][eq]'
1341+
description: |
1342+
Filter by the team that owns the application. Use a team UUID or the literal string `null` for individually owned apps (e.g. `filter[team_id][eq]=null`).
1343+
in: query
1344+
required: false
1345+
schema:
1346+
type: string
1347+
format: uuid
1348+
example: 5be86298-147b-45ab-bfaf-a1bff97dce39
1349+
nullable: true
1350+
FilterByTeamIdEqualityShort:
1351+
name: 'filter[team_id]'
1352+
description: |
1353+
Filter by the team that owns the application (short-hand). Use a team UUID or the literal string `null` for individually owned apps (e.g. `filter[team_id]=null`).
1354+
in: query
1355+
required: false
1356+
schema:
1357+
type: string
1358+
format: uuid
1359+
example: 5be86298-147b-45ab-bfaf-a1bff97dce39
1360+
nullable: true
1361+
FilterByTeamIdNotEquals:
1362+
name: 'filter[team_id][neq]'
1363+
description: |
1364+
Filter by excluding a team. Use the literal string `null` to get only team-owned apps (excludes individually owned) (e.g. `filter[team_id][neq]=null`).
1365+
in: query
1366+
required: false
1367+
schema:
1368+
type: string
1369+
format: uuid
1370+
example: null
1371+
nullable: true
1372+
FilterByTeamIdOneOf:
1373+
name: 'filter[team_id][oeq]'
1374+
description: |
1375+
Filter by apps owned by any of the given teams (comma-separated UUIDs).
1376+
in: query
1377+
required: false
1378+
schema:
1379+
type: string
1380+
example: '5be86298-147b-45ab-bfaf-a1bff97dce39,7ce96398-247b-45ab-bfaf-b2c008e8f6e4'
13351381
FilterByTitleContains:
13361382
name: 'filter[title][contains]'
13371383
description: Filter by contains comparison of the title property with a supplied substring

api-specs/konnect/notification-hub/v1/openapi.yaml

Lines changed: 28 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
openapi: 3.0.2
22
info:
33
title: Konnect Notification Hub
4-
version: 1.0.0
4+
version: 1.0.1
55
description: Notification Hub API for Konnect.
66
contact:
77
name: Kong
88
url: 'https://konghq.com'
9-
x-oas-source: kong/platform-api@35679ffe8077f0abfe92d4a31d3ec47933d65e4c
10-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/35679ffe8077f0abfe92d4a31d3ec47933d65e4c'
9+
x-oas-source: kong/platform-api@db72b1ae548a532266c9ad412ed8a4c3a015488b
10+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/db72b1ae548a532266c9ad412ed8a4c3a015488b'
1111
servers:
1212
- url: 'https://global.api.konghq.com/v1'
1313
description: Global Base URL
@@ -279,6 +279,12 @@ components:
279279
schema:
280280
type: string
281281
schemas:
282+
ListCursorMeta:
283+
anyOf:
284+
- $ref: '#/components/schemas/CursorMeta'
285+
- allOf:
286+
- $ref: '#/components/schemas/CursorMetaPage'
287+
deprecated: true
282288
NotificationFilterParameters:
283289
type: object
284290
properties:
@@ -404,6 +410,7 @@ components:
404410
- dataplane-group
405411
- dataplane
406412
- kai-enablement
413+
- enterprise-trial
407414
UserConfiguration:
408415
description: Properties of an event.
409416
type: object
@@ -591,6 +598,14 @@ components:
591598
- size
592599
- next
593600
- previous
601+
CursorMeta:
602+
description: Pagination metadata.
603+
type: object
604+
properties:
605+
page:
606+
$ref: '#/components/schemas/CursorMetaPage'
607+
required:
608+
- page
594609
BaseError:
595610
description: standard error
596611
type: object
@@ -933,9 +948,10 @@ components:
933948
created_at: '2023-01-01T00:00:00.000Z'
934949
updated_at: '2023-01-01T00:00:00.000Z'
935950
meta:
936-
next: ''
937-
previous: ''
938-
size: 10
951+
page:
952+
next: ''
953+
previous: ''
954+
size: 10
939955
EventSubscriptionPayload:
940956
value:
941957
name: Control Plane Global
@@ -1002,9 +1018,10 @@ components:
10021018
created_at: '2023-01-01T00:00:00.000Z'
10031019
updated_at: '2023-01-01T00:00:00.000Z'
10041020
meta:
1005-
next: ''
1006-
previous: ''
1007-
size: 10
1021+
page:
1022+
next: ''
1023+
previous: ''
1024+
size: 10
10081025
EventSubscriptionResponse:
10091026
value:
10101027
id: 93f8380e-7798-4566-99e3-2edf2b57d292
@@ -1096,7 +1113,7 @@ components:
10961113
items:
10971114
$ref: '#/components/schemas/Notification'
10981115
meta:
1099-
$ref: '#/components/schemas/CursorMetaPage'
1116+
$ref: '#/components/schemas/ListCursorMeta'
11001117
additionalProperties: false
11011118
required:
11021119
- data
@@ -1133,7 +1150,7 @@ components:
11331150
items:
11341151
$ref: '#/components/schemas/EventSubscriptionResponse'
11351152
meta:
1136-
$ref: '#/components/schemas/CursorMetaPage'
1153+
$ref: '#/components/schemas/ListCursorMeta'
11371154
additionalProperties: false
11381155
required:
11391156
- data

0 commit comments

Comments
 (0)