Skip to content

Commit 666b6f0

Browse files
authored
feat(sdk): automated oas update
1 parent fd18272 commit 666b6f0

5 files changed

Lines changed: 386 additions & 104 deletions

File tree

‎api-specs/konnect/control-planes-config/v2/openapi.yaml‎

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ info:
1414
url: 'https://www.apache.org/licenses/LICENSE-2.0.html'
1515
title: Konnect Control Planes Configuration
1616
version: 3.15.0
17-
x-oas-source: kong/platform-api@c490b3e79979400ce6f13039add29f45cfdb0b34
18-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/c490b3e79979400ce6f13039add29f45cfdb0b34'
17+
x-oas-source: kong/platform-api@0296d97374f56ce800b859023385867105124517
18+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/0296d97374f56ce800b859023385867105124517'
1919
servers:
2020
- url: 'https://us.api.konghq.com/v2'
2121
description: United-States Production region
@@ -5365,11 +5365,15 @@ components:
53655365
writeOnly: true
53665366
type: object
53675367
- anyOf:
5368-
- required:
5368+
- description: Certificate defined by its vault.
5369+
required:
53695370
- vault
5370-
- required:
5371+
title: CertificateWithVault
5372+
- description: 'Certificate defined by its cert, key.'
5373+
required:
53715374
- cert
53725375
- key
5376+
title: CertificateWithCertAndKey
53735377
Consumer:
53745378
description: 'The Consumer object represents a consumer - or a user - of a Service. You can either rely on Kong as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong and your existing primary datastore.'
53755379
type: object
@@ -8560,10 +8564,14 @@ components:
85608564
nullable: true
85618565
type: object
85628566
- anyOf:
8563-
- required:
8567+
- description: Service defined by its host.
8568+
required:
85648569
- host
8565-
- required:
8570+
title: ServiceWithHost
8571+
- description: Service defined by its URL.
8572+
required:
85668573
- url
8574+
title: ServiceWithURL
85678575
Target:
85688576
description: 'A target is an ip address/hostname with a port that identifies an instance of a backend service. Every upstream can have many targets, and the targets can be dynamically added, modified, or deleted. Changes take effect on the fly. To disable a target, post a new one with `weight=0`; alternatively, use the `DELETE` convenience method to accomplish the same. The current target object definition is the one with the latest `created_at`.'
85698577
type: object

‎api-specs/konnect/identity/v3/openapi.yaml‎

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
openapi: 3.0.2
22
info:
33
title: Konnect Identity
4-
version: 3.7.1
4+
version: 3.8.0
55
description: The management API for Kong Konnect Identity resources.
66
contact:
77
name: Kong
88
url: 'https://konghq.com'
9-
x-oas-source: kong/platform-api@c490b3e79979400ce6f13039add29f45cfdb0b34
10-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/c490b3e79979400ce6f13039add29f45cfdb0b34'
9+
x-oas-source: kong/platform-api@0851fba0315bab03a4877ade8b37175dbfc7b4f6
10+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/0851fba0315bab03a4877ade8b37175dbfc7b4f6'
1111
servers:
1212
- url: 'https://global.api.konghq.com/v3'
1313
description: Global Base URL
@@ -1796,7 +1796,7 @@ components:
17961796
type: object
17971797
properties:
17981798
enabled:
1799-
$ref: '#/components/schemas/IdentityProviderEnabled'
1799+
$ref: '#/components/schemas/UpdateIdentityProviderEnabled'
18001800
login_path:
18011801
$ref: '#/components/schemas/IdentityProviderLoginPath'
18021802
config:
@@ -2053,11 +2053,11 @@ components:
20532053
- $ref: '#/components/schemas/User'
20542054
- type: object
20552055
example:
2056-
claim_name:
2056+
claim_names:
20572057
- GroupClaimA
20582058
- GroupClaimB
20592059
properties:
2060-
claim_name:
2060+
claim_names:
20612061
description: An array of group claim names that gave this user membership to the team.
20622062
type: array
20632063
items:
@@ -2130,11 +2130,11 @@ components:
21302130
- $ref: '#/components/schemas/TeamResponse'
21312131
- type: object
21322132
example:
2133-
claim_name:
2133+
claim_names:
21342134
- GroupClaimA
21352135
- GroupClaimB
21362136
properties:
2137-
claim_name:
2137+
claim_names:
21382138
description: An array of group claim names that gave this user membership to the team.
21392139
type: array
21402140
items:
@@ -2970,6 +2970,14 @@ components:
29702970
- instance
29712971
- detail
29722972
title: Error
2973+
UpdateIdentityProviderEnabled:
2974+
description: |
2975+
Indicates whether the identity provider is enabled.
2976+
Only one identity provider can be active at a time, such as SAML or OIDC.
2977+
When omitted, the current value is left unchanged.
2978+
type: boolean
2979+
example: true
2980+
title: Identity Provider Enabled Property
29732981
CursorMetaPage:
29742982
type: object
29752983
properties:
@@ -3425,7 +3433,7 @@ components:
34253433
active: true
34263434
created_at: '2022-08-17T17:46:57.52Z'
34273435
updated_at: '2022-10-03T17:00:00.00Z'
3428-
claim_name:
3436+
claim_names:
34293437
- GroupClaimA
34303438
- GroupClaimB
34313439
user-team-membership-collection-example:
@@ -3444,7 +3452,7 @@ components:
34443452
env: test
34453453
created_at: '2022-02-07T17:46:57.52Z'
34463454
updated_at: '2022-09-25T13:00:00.00Z'
3447-
claim_name:
3455+
claim_names:
34483456
- GroupClaimA
34493457
- GroupClaimB
34503458
Get-User-Response:

0 commit comments

Comments
 (0)